Expensive test property. (#43)

Make expensive tests run sequentially to prevent possible out-of-memory issues.
This commit is contained in:
Matthew Parkinson
2019-05-08 15:51:41 +01:00
committed by GitHub
parent 8fcedfc290
commit 8d5432c559

View File

@@ -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()