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:
parent
4d5446cea7
commit
42e427905c
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue