diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-21 23:52:44 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-21 23:52:44 +0100 |
commit | da82f26f16eeda8a9795592c30ce55c21772ed12 (patch) | |
tree | b367329ee64422f353cac11a2c6efbbbab034854 /CMakeLists.txt | |
parent | 84a7ec0e6c3f5ca16fad32e3055f47f87fe58b4d (diff) | |
download | YAGE-da82f26f16eeda8a9795592c30ce55c21772ed12.tar.gz YAGE-da82f26f16eeda8a9795592c30ce55c21772ed12.zip |
lowering test runs and fixing travis file
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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}) |