From 079b41dd37e01099df4efcfccaf2b8f64b30e6cd Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 29 Jun 2015 20:26:58 +0200 Subject: Remove WITH_TESTS_PERFORMANCE option. Performance tests now have their own CMake macro, which ensures they do not get added to ctest list, so we do not have to bother about them anymore, and can always build them (when GTests are enabled, of course). --- CMakeLists.txt | 1 - tests/gtests/blenlib/CMakeLists.txt | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fcd9699aef3..62162388b35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -395,7 +395,6 @@ option(WITH_BOOST "Enable features depending on boost" ON) # Unit testsing option(WITH_GTESTS "Enable GTest unit testing" OFF) -option(WITH_TESTS_PERFORMANCE "Enable performance tests" OFF) # Documentation diff --git a/tests/gtests/blenlib/CMakeLists.txt b/tests/gtests/blenlib/CMakeLists.txt index ae773a05e8d..b4cb2b9d0ea 100644 --- a/tests/gtests/blenlib/CMakeLists.txt +++ b/tests/gtests/blenlib/CMakeLists.txt @@ -45,6 +45,4 @@ BLENDER_TEST(BLI_listbase "bf_blenlib") BLENDER_TEST(BLI_hash_mm2a "bf_blenlib") BLENDER_TEST(BLI_ghash "bf_blenlib") -if(WITH_TESTS_PERFORMANCE) - BLENDER_TEST_PERFORMANCE(BLI_ghash_performance "bf_blenlib") -endif() +BLENDER_TEST_PERFORMANCE(BLI_ghash_performance "bf_blenlib") -- cgit v1.2.3