Remove WITH_TESTS_PERFORMANCE option.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 29 Jun 2015 18:26:58 +0000 (20:26 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 29 Jun 2015 18:26:58 +0000 (20:26 +0200)
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
tests/gtests/blenlib/CMakeLists.txt

index fcd9699aef317de4ca48d4e89ad72cadcc51cbd4..62162388b35e8d6926696a35197052ffbfe09d5d 100644 (file)
@@ -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
index ae773a05e8d6503c5cced27804e3dd5ab9293175..b4cb2b9d0ea390b404eaf7cfa052db7f522d19f3 100644 (file)
@@ -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")