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

Fixed piped strcuture eating valgrind's exit code.

parent f1e2d1dc
Branches
Tags
No related merge requests found
......@@ -6,45 +6,45 @@ all: valgrind valgrindMultiprocess helgrindBase helgrindScheduler helgrindOStore
valgrind: valgrindMultiprocess helgrindMultiprocess
valgrind -q @VALGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/valgrind.suppr \
/usr/bin/cta-unitTests 2>&1 | ts "vg: %b %d %H:%M:%S"
/usr/bin/cta-unitTests 2>&1 | ts "vg: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
valgrindMultiprocess:
valgrind -q @VALGRIND_OPTS_STR@ --child-silent-after-fork=yes \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/valgrind.suppr \
/usr/bin/cta-unitTests-multiProcess 2>&1 | ts "vgmp: %b %d %H:%M:%S"
/usr/bin/cta-unitTests-multiProcess 2>&1 | ts "vgmp: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
helgrindBase: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \
--gtest_filter=-OStoreDBPlusMockSchedulerTestVFS*:OStoreTestVFS*:OStoreDBPlusMockSchedulerTestVFS*:InMemory* \
2>&1 | ts "hgb: %b %d %H:%M:%S"
2>&1 | ts "hgb: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
helgrindScheduler: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \
--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/Scheduler* 2>&1 | ts "hgs: %b %d %H:%M:%S"
--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/Scheduler* 2>&1 | ts "hgs: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
helgrindOStoreDB: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \
--gtest_filter=OStoreTestVFS* 2>&1 | ts "hgosdb: %b %d %H:%M:%S"
--gtest_filter=OStoreTestVFS* 2>&1 | ts "hgosdb: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
helgrindDataTransfer: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \
--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/DataTransferSessionTest* 2>&1 | ts "hgdt: %b %d %H:%M:%S"
--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/DataTransferSessionTest* 2>&1 | ts "hgdt: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
helgrindInMemoryCatalogue: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \
--gtest_filter=InMemory/* 2>&1 | ts "hgimc: %b %d %H:%M:%S"
--gtest_filter=InMemory/* 2>&1 | ts "hgimc: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
helgrindMultiprocess: valgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests-multiProcess 2>&1 | ts "hgmp: %b %d %H:%M:%S"
\ No newline at end of file
/usr/bin/cta-unitTests-multiProcess 2>&1 | ts "hgmp: %b %d %H:%M:%S"; (exit ${PIPESTATUS[0]})
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment