From f1e2d1dc68b040ac248e3b99e0842510eb1d1b52 Mon Sep 17 00:00:00 2001
From: Eric Cano <Eric.Cano@cern.ch>
Date: Wed, 30 Jan 2019 15:30:42 +0100
Subject: [PATCH] Made sure stderr also gets timestamps

---
 tests/parallelTestsMakefile.in | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tests/parallelTestsMakefile.in b/tests/parallelTestsMakefile.in
index 16b3d36956..8ad495d13e 100644
--- a/tests/parallelTestsMakefile.in
+++ b/tests/parallelTestsMakefile.in
@@ -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 | ts "vg: %b %d %H:%M:%S"
+	/usr/bin/cta-unitTests 2>&1 | ts "vg: %b %d %H:%M:%S"
 
 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 | ts "vgmp: %b %d %H:%M:%S"
+	/usr/bin/cta-unitTests-multiProcess 2>&1 | ts "vgmp: %b %d %H:%M:%S"
 
 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* \
-	| ts "hgb: %b %d %H:%M:%S"
+	2>&1 | ts "hgb: %b %d %H:%M:%S"
 
 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* | ts "hgs: %b %d %H:%M:%S"
+	--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/Scheduler* 2>&1 | ts "hgs: %b %d %H:%M:%S"
 
 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* | ts "hgosdb: %b %d %H:%M:%S"
+	--gtest_filter=OStoreTestVFS* 2>&1 | ts "hgosdb: %b %d %H:%M:%S"
 
 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* | ts "hgdt: %b %d %H:%M:%S"
+	--gtest_filter=OStoreDBPlusMockSchedulerTestVFS/DataTransferSessionTest* 2>&1 | ts "hgdt: %b %d %H:%M:%S"
 
 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/* | ts "hgimc: %b %d %H:%M:%S"
+	--gtest_filter=InMemory/* 2>&1 | ts "hgimc: %b %d %H:%M:%S"
 
 helgrindMultiprocess: valgrindMultiprocess
 	valgrind -q --tool=helgrind @HELGRIND_OPTS_STR@                               \
 	--suppressions=/usr/share/cta-@CTA_VERSION@/unittest/helgrind.suppr           \
-	/usr/bin/cta-unitTests-multiProcess | 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"
\ No newline at end of file
-- 
GitLab