CMake: Move performance tests under the cmake option

This way running full sweep of regression tests does not require
waiting for the performance test to finish.
This commit is contained in:
Sergey Sharybin 2015-04-20 18:30:26 +05:00
parent 4d5446cea7
commit 42e427905c
2 changed files with 4 additions and 1 deletions

View File

@ -395,6 +395,7 @@ 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

View File

@ -45,4 +45,6 @@ BLENDER_TEST(BLI_listbase "bf_blenlib")
BLENDER_TEST(BLI_hash_mm2a "bf_blenlib")
BLENDER_TEST(BLI_ghash "bf_blenlib")
BLENDER_TEST(BLI_ghash_performance "bf_blenlib")
if(WITH_TESTS_PERFORMANCE)
BLENDER_TEST(BLI_ghash_performance "bf_blenlib")
endif()