Expensive test property. (#43)
Make expensive tests run sequentially to prevent possible out-of-memory issues.
This commit is contained in:
committed by
GitHub
parent
8fcedfc290
commit
8d5432c559
@@ -124,6 +124,9 @@ foreach(TEST_CATEGORY ${TEST_CATEGORIES})
|
||||
message(STATUS "Adding test: ${TESTNAME}")
|
||||
add_test(${TESTNAME} ${TESTNAME})
|
||||
endif()
|
||||
if (${TEST_CATEGORY} MATCHES "perf")
|
||||
set_tests_properties(${TESTNAME} PROPERTIES PROCESSORS 3)
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user