aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rw-r--r--CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 470ecf2c..8cedb335 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,9 +30,9 @@ script:
- |
if [ "$TRAVIS_BRANCH" == "master" ] then
./tools/update_docs
- exit(0)
+ exit 0
else
- exit(0)
+ exit 0
fi
env:
global:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5d75d62..cc3f12ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,7 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/yage)
if($ENV{UNIT_TESTS})
# enable tests
enable_testing()
- set(SIMULATION_RUNS 100)
+ set(SIMULATION_RUNS 1000)
function(make_test test_name cycles)
add_executable(${test_name} ${YAGE_TEST_DIR}/${test_name}.cpp)
@@ -34,7 +34,7 @@ if($ENV{UNIT_TESTS})
add_test(NAME ${test_name} COMMAND ${test_name} --gtest_repeat=${cycles} --gtest_break_on_failure)
endfunction(make_test)
- make_test(yagetest ${SIMULATION_RUNS})
+ make_test(yagetest 1)
make_test(matrixtest ${SIMULATION_RUNS})
make_test(particlebodytest ${SIMULATION_RUNS})
make_test(windowtest ${SIMULATION_RUNS})