Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
dCache
cta
Commits
e05738ac
Commit
e05738ac
authored
11 years ago
by
Eric Cano
Browse files
Options
Downloads
Patches
Plain Diff
Added a supression file for the unit tests.
parent
8ba6f255
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+3
-2
3 additions, 2 deletions
CMakeLists.txt
test/castorThreadedUnitTests.supp
+2
-0
2 additions, 0 deletions
test/castorThreadedUnitTests.supp
with
5 additions
and
2 deletions
CMakeLists.txt
+
3
−
2
View file @
e05738ac
...
...
@@ -412,13 +412,14 @@ endif (${COMPILE_PACKAGING} STREQUAL "1")
#add_custom_target(test test/castorUnitTests
# COMMENT "Not running the unit tests" VERBATIM)
configure_file
(
test/castorThreadedUnitTests.supp test/castorThreadedUnitTests.supp COPYONLY
)
add_custom_target
(
test test/castorUnitTests
COMMAND valgrind --leak-check=full --show-reachable=yes --error-exitcode=1 test/castorUnitTests
COMMAND test/castorThreadedUnitTests
COMMAND valgrind --leak-check=full --show-reachable=yes --error-exitcode=1 test/castorThreadedUnitTests
COMMAND valgrind --tool=helgrind --error-exitcode=1 test/castorThreadedUnitTests
COMMAND valgrind --tool=helgrind --error-exitcode=1
--suppressions=test/castorThreadedUnitTests.supp
test/castorThreadedUnitTests
COMMAND test/castorMultiprocessUnitTests
COMMAND valgrind --tool=helgrind --error-exitcode=1 test/castorMultiprocessUnitTests
DEPENDS test/castorUnitTests test/castorThreadedUnitTests test/castorMultiprocessUnitTests
DEPENDS test/castorUnitTests test/castorThreadedUnitTests test/castorMultiprocessUnitTests
test/castorThreadedUnitTests.supp
COMMENT
"Running unit tests"
VERBATIM
)
This diff is collapsed.
Click to expand it.
test/castorThreadedUnitTests.supp
0 → 100644
+
2
−
0
View file @
e05738ac
# castor unit tests suppression list
#
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