From aa81937a3033e4ef074299e71c523e5923f05ff0 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 10 Oct 2006 13:13:51 +0000 Subject: [PATCH] redirect output of time to standard output stream redirect output of time to standard output stream --- examples/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tests/Makefile.am b/examples/tests/Makefile.am index 0ff34753..7c44abfb 100644 --- a/examples/tests/Makefile.am +++ b/examples/tests/Makefile.am @@ -30,7 +30,7 @@ bin_PROGRAMS = \ test-tss run-tests: $(bin_PROGRAMS) - @for i in $(bin_PROGRAMS); do echo $$i; time (./$$i 2>&1 > /dev/null; echo $$?); done + @for i in $(bin_PROGRAMS); do echo $$i; ((time ./$$i 2>&1 > /dev/null) 2>&1; echo $$?); done run-valgrind-tests: $(bin_PROGRAMS) @for i in $(bin_PROGRAMS); do echo $$i; valgrind .libs/lt-$$i 2>&1 | grep ERROR\ SUMMARY -A4; echo $$?; done -- 2.26.2