Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Gaudi
Gaudi
Commits
31090f4f
Commit
31090f4f
authored
3 years ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Only compile test source file for test_StatusCodeFail
parent
8f025e0c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1206
Simplify StatusCode compilation failure test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GaudiKernel/CMakeLists.txt
+2
-1
2 additions, 1 deletion
GaudiKernel/CMakeLists.txt
with
2 additions
and
1 deletion
GaudiKernel/CMakeLists.txt
+
2
−
1
View file @
31090f4f
...
...
@@ -257,7 +257,8 @@ add_executable(test_StatusCodeFail tests/src/test_StatusCode_fail.cxx)
target_link_libraries
(
test_StatusCodeFail PRIVATE GaudiKernel
)
set_target_properties
(
test_StatusCodeFail PROPERTIES EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_DEFAULT_BUILD TRUE
)
add_test
(
NAME
${
package_name
}
.test_StatusCodeFail
COMMAND
${
CMAKE_COMMAND
}
--build
${
CMAKE_BINARY_DIR
}
--target test_StatusCodeFail
)
COMMAND
${
CMAKE_COMMAND
}
--build
${
CMAKE_BINARY_DIR
}
--target
${
package_name
}
/CMakeFiles/test_StatusCodeFail.dir/tests/src/test_StatusCode_fail.cxx.o
)
set_property
(
TEST
${
package_name
}
.test_StatusCodeFail PROPERTY PASS_REGULAR_EXPRESSION
"FAIL01;FAIL02;FAIL03;FAIL04"
)
if
(
GAUDI_USE_CPPUNIT
)
...
...
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