diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/contrib/build-perf-test.sh | 20 |
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 | ||
242 | write_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 | |||
338 | test2 | 347 | test2 |
339 | test3 | 348 | test3 |
340 | 349 | ||
350 | # if we got til here write to global results | ||
351 | write_results | ||
352 | |||
341 | log "All done, cleaning up..." | 353 | log "All done, cleaning up..." |
342 | 354 | ||
343 | do_rmtmp | 355 | do_rmtmp |
344 | do_rmsstate | 356 | do_rmsstate |
345 | |||
346 | # if we got til here write to global results | ||
347 | echo "$rev" >> $globalres | ||
348 | for i in "${TIMES[@]}"; do | ||
349 | echo -n "$i," >> $globalres | ||
350 | done | ||
351 | echo >> $globalres | ||
352 | sed -i '$ s/,$//' $globalres | ||