Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
6e936295
Commit
6e936295
authored
3 years ago
by
Administrator
Browse files
Options
Downloads
Patches
Plain Diff
Remove commented statements still using the old variable
parent
63691da5
No related branches found
No related tags found
1 merge request
!560
Use different test cases with CMake variable
Pipeline
#13913
passed
3 years ago
Stage: documentation
Stage: deploy
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
macro/C2F/CMakeLists.txt
+4
-7
4 additions, 7 deletions
macro/C2F/CMakeLists.txt
macro/dimuon/CMakeLists.txt
+4
-6
4 additions, 6 deletions
macro/dimuon/CMakeLists.txt
macro/mcbm/CMakeLists.txt
+2
-2
2 additions, 2 deletions
macro/mcbm/CMakeLists.txt
with
10 additions
and
15 deletions
macro/C2F/CMakeLists.txt
+
4
−
7
View file @
6e936295
...
...
@@ -19,12 +19,9 @@ else()
Set
(
NumEvents 20
)
endif
()
# Define the different setups to be tested
#If( ${CBM_TEST_MODEL} MATCHES Nightly OR ${CBM_TEST_MODEL} MATCHES Weekly )
List
(
APPEND cbm_setup sis100_electron
)
#EndIf()
List
(
APPEND cbm_setup sis100_electron
)
ForEach
(
setup IN LISTS cbm_setup
)
ForEach
(
setup IN LISTS cbm_setup
)
# The test dependencies are set such that parallel execution is prevented, even is there is no logical
# dependence. The reason is that all runs (for a given setup) use the same ROOT parameter file,
...
...
@@ -92,8 +89,8 @@ endif()
)
EndForEach
(
setup IN LISTS cbm_setup
)
# end of test CBM setups from geometry/setup
EndForEach
(
setup IN LISTS cbm_setup
)
# end of test CBM setups from geometry/setup
# Installation of macros is done in macro/CMakeLists.txt to install the
# macros even if the tests are not executed
This diff is collapsed.
Click to expand it.
macro/dimuon/CMakeLists.txt
+
4
−
6
View file @
6e936295
...
...
@@ -15,10 +15,9 @@ File(COPY ${CBMROOT_SOURCE_DIR}/parameters/much/TOF8gev_fitParam_sigma2.sis100_m
Set
(
NumEvents 1000
)
# Define the different setups to be tested
#If( ($ENV{ctest_model} MATCHES Nightly) OR ($ENV{ctest_model} MATCHES Weekly) )
List
(
APPEND cbm_setup sis100_muon_lmvm
)
List
(
APPEND cbm_setup sis100_muon_lmvm
)
ForEach
(
setup IN LISTS cbm_setup
)
ForEach
(
setup IN LISTS cbm_setup
)
# The test dependencies are set such that parallel execution is prevented, even is there is no logical
# dependence. The reason is that all runs (for a given setup) use the same ROOT parameter file,
...
...
@@ -68,9 +67,8 @@ Set(NumEvents 1000)
Set_Tests_Properties
(
${
testname
}
PROPERTIES PASS_REGULAR_EXPRESSION
"Test Passed;All ok"
)
set_tests_properties
(
${
testname
}
PROPERTIES FIXTURES_REQUIRED
${
fixture_dimuon_mass
}
)
EndForEach
(
setup IN LISTS cbm_setup
)
# end of test CBM setups from geometry/setup
#EndIf()
EndForEach
(
setup IN LISTS cbm_setup
)
# end of test CBM setups from geometry/setup
# Installation of macros is done in macro/CMakeLists.txt to install the
# macros even if the tests are not executed
This diff is collapsed.
Click to expand it.
macro/mcbm/CMakeLists.txt
+
2
−
2
View file @
6e936295
...
...
@@ -113,13 +113,13 @@ ForEach(setup IN LISTS cbm_setup)
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)
)
If
(
NOT
${
CBM_TEST_MODEL
}
MATCHES Experimental
)
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_overlap
}
)
#
EndIf()
EndIf
()
EndForEach
(
setup IN LISTS cbm_setup
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment