From da82f26f16eeda8a9795592c30ce55c21772ed12 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 21 Sep 2017 23:52:44 +0100 Subject: lowering test runs and fixing travis file --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') 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}) -- cgit