Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shreya Roy
cbmroot
Commits
d0cecb59
Commit
d0cecb59
authored
Sep 09, 2021
by
Dominik Smith
Browse files
Changed naming convention for tests in macro/mcbm/CMakeLists.txt.
parent
cd801da7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
24 deletions
+25
-24
macro/mcbm/CMakeLists.txt
macro/mcbm/CMakeLists.txt
+25
-24
No files found.
macro/mcbm/CMakeLists.txt
View file @
d0cecb59
...
...
@@ -35,48 +35,49 @@ ForEach(setup IN LISTS cbm_setup)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_transport.sh
${
NumEvents
}
\"
${
setup
}
\" \"data/
${
setup
}
_test\"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"600"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
Set
(
fixture_digi_event fixture_digi_event_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_digi_event
}
)
Set
(
fixture_transport fixture_transport_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_transport
}
)
Set
(
testname mcbm_digi_event_
${
setup
}
)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_digi.sh
${
NumEvents
}
\"data/
${
setup
}
_test\" 0. 0. 1
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"300"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
digi_even
t
}
)
Set
(
fixture_
reco
_event fixture_
reco
_event_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
reco
_event
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
transpor
t
}
)
Set
(
fixture_
digi
_event fixture_
digi
_event_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
digi
_event
}
)
Set
(
testname mcbm_reco_event_
${
setup
}
)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_reco_event.sh
${
NumEvents
}
\"data/
${
setup
}
_test\" \"
${
setup
}
\"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"300"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
reco
_event
}
)
Set
(
fixture_
match_check fixture_match_check_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
match_check
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
digi
_event
}
)
Set
(
fixture_
reco_event fixture_reco_event_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
reco_event
}
)
Set
(
testname mcbm_match_check_
${
setup
}
)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_match_check.sh
${
NumEvents
}
\"
${
setup
}
\" \"data/
${
setup
}
_test\"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"300"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
match_check
}
)
Set
(
fixture_
hadron_analysis fixture_hadron_analysis_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
hadron_analysis
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
reco_event
}
)
Set
(
fixture_
match_check fixture_match_check_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
match_check
}
)
Set
(
testname mcbm_hadron_analysis_
${
setup
}
)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_hadron_analysis.sh
${
NumEvents
}
\"
${
setup
}
\" \"data/
${
setup
}
_test\"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"300"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
hadron_analysis
}
)
Set
(
fixture_
digi_tb fixture_digi_tb_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
digi_tb
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
match_check
}
)
Set
(
fixture_
hadron_analysis fixture_hadron_analysis_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
hadron_analysis
}
)
Set
(
testname mcbm_digi_
${
setup
}
)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_digi.sh
${
NumEvents
}
\"data/
${
setup
}
_test\"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"300"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
digi_tb
}
)
Set
(
fixture_
qa_event_mc fixture_qa_event_mc_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
qa_event_mc
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
hadron_analysis
}
)
Set
(
fixture_
digi_tb fixture_digi_tb_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
digi_tb
}
)
Set
(
testname mcbm_qa_event_mc_
${
setup
}
)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_qa.sh
${
NumEvents
}
\"data/
${
setup
}
_test\" \"
${
setup
}
\"
)
...
...
@@ -84,9 +85,9 @@ ForEach(setup IN LISTS cbm_setup)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES FAIL_REGULAR_EXPRESSION
"ERROR"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES FAIL_REGULAR_EXPRESSION
"FATAL"
)
Set_Tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
qa_event_mc
}
)
Set
(
fixture_
overlap fixture_overlap_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
overlap
}
)
Set_Tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
digi_tb
}
)
Set
(
fixture_
qa_event_mc fixture_qa_event_mc_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
qa_event_mc
}
)
#Set(testname mcbm_reco_${setup})
#Add_Test(${testname} ${CBMROOT_BINARY_DIR}/macro/mcbm/mcbm_reco.sh ${NumEvents} ${BeamAngle} \"${setup}\")
...
...
@@ -100,16 +101,16 @@ ForEach(setup IN LISTS cbm_setup)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/mcbm_check_overlaps.sh \"data/
${
setup
}
_test\"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"600"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
overlap
}
)
Set
(
fixture_
mcbm_
overlap fixture_
mcbm_
overlap_
${
testname
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_
mcbm_
overlap
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
qa_event_mc
}
)
Set
(
fixture_overlap fixture_overlap_
${
setup
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_SETUP
${
fixture_overlap
}
)
If
(
(
$ENV{ctest_model} MATCHES Nightly
)
OR
(
$ENV{ctest_model} MATCHES Weekly
)
)
Set
(
testname mcbm_check_media_
${
setup
}
)
Add_Test
(
${
testname
}
${
CBMROOT_BINARY_DIR
}
/macro/mcbm/check_media.sh \"data/
${
setup
}
_test\"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES TIMEOUT
"60"
)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_
mcbm_
overlap
}
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_overlap
}
)
EndIf
()
EndForEach
(
setup IN LISTS cbm_setup
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment