Skip to content
Snippets Groups Projects
Commit e05738ac authored by Eric Cano's avatar Eric Cano
Browse files

Added a supression file for the unit tests.

parent 8ba6f255
Branches
Tags
No related merge requests found
......@@ -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)
# castor unit tests suppression list
#
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment