summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/contrib/build-perf-test.sh20
1 files changed, 12 insertions, 8 deletions
diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh
index ee30409569..0af2cfea0e 100755
--- a/scripts/contrib/build-perf-test.sh
+++ b/scripts/contrib/build-perf-test.sh
@@ -239,6 +239,15 @@ do_sync () {
239 sleep 3 239 sleep 3
240} 240}
241 241
242write_results() {
243 echo -n "`uname -n`,$rev," >> $globalres
244 for i in "${TIMES[@]}"; do
245 echo -n "$i," >> $globalres
246 done
247 echo >> $globalres
248 sed -i '$ s/,$//' $globalres
249}
250
242#### 251####
243 252
244# 253#
@@ -338,15 +347,10 @@ test1_p3
338test2 347test2
339test3 348test3
340 349
350# if we got til here write to global results
351write_results
352
341log "All done, cleaning up..." 353log "All done, cleaning up..."
342 354
343do_rmtmp 355do_rmtmp
344do_rmsstate 356do_rmsstate
345
346# if we got til here write to global results
347echo "$rev" >> $globalres
348for i in "${TIMES[@]}"; do
349 echo -n "$i," >> $globalres
350done
351echo >> $globalres
352sed -i '$ s/,$//' $globalres