Skip to content
Snippets Groups Projects
Commit 9b947b54 authored by Jonas Rembser's avatar Jonas Rembser
Browse files

[RF] Change which stressRooFit tests are declared as `longtest`

Before, the interpreted tests were not declared as longtests, and the
compiled versions were not. This is now flipped, such that the compiled
BatchMode CPU and CUDA tests are also run without `longtest`.
parent 856c2adf
No related branches found
No related tags found
No related merge requests found
......@@ -242,13 +242,13 @@ if(ROOT_roofit_FOUND)
ROOT_EXECUTABLE(stressRooFit stressRooFit.cxx LIBRARIES RooFit )
endif()
configure_file(stressRooFit_ref.root stressRooFit_ref.root COPYONLY)
ROOT_ADD_TEST(test-stressroofit COMMAND stressRooFit FAILREGEX "FAILED|Error in" LABELS longtest)
ROOT_ADD_TEST(test-stressroofit-batchmode-cpu COMMAND stressRooFit -b cpu FAILREGEX "FAILED|Error in" LABELS longtest)
ROOT_ADD_TEST(test-stressroofit COMMAND stressRooFit FAILREGEX "FAILED|Error in")
ROOT_ADD_TEST(test-stressroofit-batchmode-cpu COMMAND stressRooFit -b cpu FAILREGEX "FAILED|Error in")
if(CUDA_FOUND)
ROOT_ADD_TEST(test-stressroofit-batchmode-cuda COMMAND stressRooFit -b cuda FAILREGEX "FAILED|Error in" LABELS longtest)
ROOT_ADD_TEST(test-stressroofit-batchmode-cuda COMMAND stressRooFit -b cuda FAILREGEX "FAILED|Error in")
endif()
ROOT_ADD_TEST(test-stressroofit-interpreted COMMAND ${ROOT_root_CMD} -b -q -l ${CMAKE_CURRENT_SOURCE_DIR}/stressRooFit.cxx
FAILREGEX "FAILED|Error in" DEPENDS test-stressroofit )
FAILREGEX "FAILED|Error in" DEPENDS test-stressroofit LABELS longtest)
# Test that the user can still include RooMath.h themselves from the
# interpreter. We test this case explicitely, because RooMath.h was moved
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment