Write to bench.out-tmp only once
commit206a6699116215c591c8562c67106f7e17146608
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 15 Apr 2013 08:22:26 +0000 (15 13:52 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 15 Apr 2013 08:23:35 +0000 (15 13:53 +0530)
tree17edd62cc928c0f362ec36cefb86b584536195b3
parent0582f6b3d6fab2128ee43a06250571922ee7c1e3
Write to bench.out-tmp only once

Appending benchmark program output on every run could result in a case
where the benchmark run was cancelled, resulting in a partially
written file.  This file gets used again on the next run, resulting in
results being appended to old results.

It could have been possible to remove the file before every benchmark
run, but it is easier to just write the output to bench.out-tmp only
once.
ChangeLog
benchtests/Makefile