summaryrefslogtreecommitdiff
path: root/openembedded/hackbench.yaml
diff options
context:
space:
mode:
authorCiprian Barbu <ciprian.barbu@linaro.org>2013-11-04 16:55:50 +0200
committerLinaro Code Review <review@review.linaro.org>2013-12-20 15:04:29 +0000
commit9fab6586e00cf0162ae365c141c37f826f99ef72 (patch)
treedfb111ea8dd73c240fed426738ac5b07acd622ce /openembedded/hackbench.yaml
parent572770e504e886e888f9e5829d735da4ab1365e1 (diff)
Running hackbench properly with timeout and removed background dd
Change-Id: I7389cf915d721cacc7878132263adc8c658a6261 Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
Diffstat (limited to 'openembedded/hackbench.yaml')
-rw-r--r--openembedded/hackbench.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/openembedded/hackbench.yaml b/openembedded/hackbench.yaml
index 4a6ef1b..d7aeaba 100644
--- a/openembedded/hackbench.yaml
+++ b/openembedded/hackbench.yaml
@@ -16,11 +16,8 @@ metadata:
run:
steps:
- - ./openembedded/scripts/dd_infinite.sh &> /dev/null &
- - while true; do sleep 5; killall hackbench; done &
- - for i in {1..1001}; do hackbench | tee -a hackbench_res.txt; done
+ - for i in {1..1000}; do timeout 10s hackbench | tee -a hackbench_res.txt; done
- ./common/scripts/min_max_avg_parse.py hackbench_res.txt "Time:" "Seconds"
- - killall dd_infinite.sh
parse:
pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'