diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | benchtests/Makefile | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile (bench): Write all output to + bench-out.tmp together. + 2013-04-15 Andreas Schwab <schwab@suse.de> * nscd/nscd.c (main): Don't fork again after closing files. diff --git a/benchtests/Makefile b/benchtests/Makefile index 3e794d798e..bd0925b926 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -121,10 +121,10 @@ run-bench = $(test-wrapper-env) \ $($*-ENV) $(rtld-prefix) $${run} bench: $(binaries-bench) - for run in $^; do \ - echo "Running $${run}"; \ - $(run-bench) >> $(objpfx)bench.out-tmp; \ - done; \ + { for run in $^; do \ + echo "Running $${run}" >&2; \ + $(run-bench); \ + done; } > $(objpfx)bench.out-tmp; \ if [ -f $(objpfx)bench.out ]; then \ mv -f $(objpfx)bench.out $(objpfx)bench.out.old; \ fi; \ |