ref: aa81937a3033e4ef074299e71c523e5923f05ff0
parent: 633fb3205d36587f607f547e162c2d304f5d351c
author: Paul Brossier <piem@altern.org>
date: Tue Oct 10 09:13:51 EDT 2006
redirect output of time to standard output stream redirect output of time to standard output stream
--- a/examples/tests/Makefile.am
+++ b/examples/tests/Makefile.am
@@ -30,7 +30,7 @@
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