Commit e02ae930 authored by Eric Cano's avatar Eric Cano
Browse files

Added timestamps and process identification to valgrind/helgrind logs.

parent 2fa9c10d
...@@ -209,6 +209,7 @@ Requires: valgrind >= 3.8.1 ...@@ -209,6 +209,7 @@ Requires: valgrind >= 3.8.1
Requires: cta-lib = %{version}-%{release} Requires: cta-lib = %{version}-%{release}
Requires: cta-taped = %{ctaVersion}-%{ctaRelease}%{mydist} Requires: cta-taped = %{ctaVersion}-%{ctaRelease}%{mydist}
Requires: make Requires: make
Requires: moreutils
%description -n cta-systemtests %description -n cta-systemtests
CERN Tape Archive: CERN Tape Archive:
Unit tests and system tests with virtual tape drives Unit tests and system tests with virtual tape drives
......
...@@ -6,44 +6,45 @@ all: valgrind valgrindMultiprocess helgrindBase helgrindScheduler helgrindOStore ...@@ -6,44 +6,45 @@ all: valgrind valgrindMultiprocess helgrindBase helgrindScheduler helgrindOStore
valgrind: valgrindMultiprocess helgrindMultiprocess valgrind: valgrindMultiprocess helgrindMultiprocess
valgrind -q @VALGRIND_OPTS_STR@ \ valgrind -q @VALGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/valgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/valgrind.suppr \
/usr/bin/cta-unitTests /usr/bin/cta-unitTests | ts "vg: %b %d %H:%M:%S"
valgrindMultiprocess: valgrindMultiprocess:
valgrind -q @VALGRIND_OPTS_STR@ --child-silent-after-fork=yes \ valgrind -q @VALGRIND_OPTS_STR@ --child-silent-after-fork=yes \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/valgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/valgrind.suppr \
/usr/bin/cta-unitTests-multiProcess /usr/bin/cta-unitTests-multiProcess | ts "vgmp: %b %d %H:%M:%S"
helgrindBase: valgrindMultiprocess helgrindMultiprocess helgrindBase: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \ valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \ /usr/bin/cta-unitTests \
--gtest_filter=-OStoreDBPlusMockSchedulerTestVFS*:OStoreTestVFS*:OStoreDBPlusMockSchedulerTestVFS*:InMemory* --gtest_filter=-OStoreDBPlusMockSchedulerTestVFS*:OStoreTestVFS*:OStoreDBPlusMockSchedulerTestVFS*:InMemory* \
| ts "hgb: %b %d %H:%M:%S"
helgrindScheduler: valgrindMultiprocess helgrindMultiprocess helgrindScheduler: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \ valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \ /usr/bin/cta-unitTests \
--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/Scheduler* --gtest_filter=OStoreDBPlusMockSchedulerTestVFS/Scheduler* | ts "hgs: %b %d %H:%M:%S"
helgrindOStoreDB: valgrindMultiprocess helgrindMultiprocess helgrindOStoreDB: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \ valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \ /usr/bin/cta-unitTests \
--gtest_filter=OStoreTestVFS* --gtest_filter=OStoreTestVFS* | ts "hgosdb: %b %d %H:%M:%S"
helgrindDataTransfer: valgrindMultiprocess helgrindMultiprocess helgrindDataTransfer: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \ valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \ /usr/bin/cta-unitTests \
--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/DataTransferSessionTest* --gtest_filter=OStoreDBPlusMockSchedulerTestVFS/DataTransferSessionTest* | ts "hgdt: %b %d %H:%M:%S"
helgrindInMemoryCatalogue: valgrindMultiprocess helgrindMultiprocess helgrindInMemoryCatalogue: valgrindMultiprocess helgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \ valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests \ /usr/bin/cta-unitTests \
--gtest_filter=InMemory/* --gtest_filter=InMemory/* | ts "hgimc: %b %d %H:%M:%S"
helgrindMultiprocess: valgrindMultiprocess helgrindMultiprocess: valgrindMultiprocess
valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \ valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@ \
--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \ --suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr \
/usr/bin/cta-unitTests-multiProcess /usr/bin/cta-unitTests-multiProcess | ts "hgmp: %b %d %H:%M:%S"
\ No newline at end of file \ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment