Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
d0897334
Commit
d0897334
authored
4 years ago
by
Andre Sailer
Committed by
Marko Petric
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
AlignDet Test: number conditions depends on DEBUG or not
parent
20e45448
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/AlignDet/CMakeLists.txt
+9
-1
9 additions, 1 deletion
examples/AlignDet/CMakeLists.txt
with
9 additions
and
1 deletion
examples/AlignDet/CMakeLists.txt
+
9
−
1
View file @
d0897334
...
...
@@ -111,14 +111,22 @@ dd4hep_add_test_reg( AlignDet_Telescope_align_nominal
)
#
#---Testing: Load Telescope geometry and read and print alignments --------
IF
(
DD4HEP_BUILD_DEBUG STREQUAL
"ON"
)
SET
(
EXPECTED_CONDITIONS 52
)
SET
(
EXPECTED_TS 33
)
ELSE
()
SET
(
EXPECTED_CONDITIONS 40
)
SET
(
EXPECTED_TS 21
)
ENDIF
()
dd4hep_add_test_reg
(
AlignDet_Telescope_readback_xml
COMMAND
"
${
CMAKE_INSTALL_PREFIX
}
/bin/run_test_AlignDet.sh"
EXEC_ARGS geoPluginRun -volmgr -destroy -plugin DD4hep_AlignmentExample_read_xml
-input file:
${
AlignDet_INSTALL
}
/compact/Telescope.xml
-deltas file:./new_cond.xml
REGEX_PASS
"
40
conditions in slice.
\\
(T:
21,S:21
,L:0,C:0,M:0
\\
) Alignments accessed: 20
\\
(A:19,M:0
\\
) for IOV:run
\\
(1
\\
)"
REGEX_PASS
"
${
EXPECTED_CONDITIONS
}
conditions in slice.
\\
(T:
${
EXPECTED_TS
}
,S:
${
EXPECTED_TS
}
,L:0,C:0,M:0
\\
) Alignments accessed: 20
\\
(A:19,M:0
\\
) for IOV:run
\\
(1
\\
)"
REGEX_FAIL
" ERROR ;EXCEPTION;Exception"
)
set_property
(
TEST t_AlignDet_Telescope_readback_xml APPEND PROPERTY DEPENDS t_AlignDet_Telescope_write_xml
)
#
#---Testing: Extended stress: Load CLICSiD geometry and have multiple runs on IOVs
dd4hep_add_test_reg
(
AlignDet_CLICSiD_stress_LONGTEST
...
...
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