summaryrefslogtreecommitdiff
path: root/openembedded
diff options
context:
space:
mode:
authorLisa Nguyen <lisa.nguyen@linaro.org>2014-10-06 17:49:57 -0700
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-01-14 13:01:53 +0000
commit37f1ab9f1c092d6ecc9091ec75b21de7b91a4430 (patch)
tree027e61cfd3d0cef94b15c1a521f23550e3cd3721 /openembedded
parente69ceb5020dc272bc98a9e9d499daf68ec07433e (diff)
ebizzy: Add ebizzy.yaml for Ubuntu and OE
Change-Id: Ia722a419770e1d4274505b9ea3950e69a29e1ca0 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/ebizzy.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/openembedded/ebizzy.yaml b/openembedded/ebizzy.yaml
new file mode 100644
index 0000000..dc6277f
--- /dev/null
+++ b/openembedded/ebizzy.yaml
@@ -0,0 +1,33 @@
+metadata:
+ name: ebizzy
+ version: "1.0"
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Running ebizzy tool"
+ os:
+ - openembedded
+ devices:
+ - juno
+ - vexpress-tc2
+ scope:
+ - performance
+
+params:
+ THREADS: 2
+ TIME: 20
+ REPEAT: 50
+
+run:
+ steps:
+ - CURRENT_DIR=$(pwd)
+ - i=1
+ - cd /opt/ltp/testcases/bin
+ - while [ $i -le $REPEAT ]; do ./ebizzy -t $THREADS -S $TIME | tee -a ebizzy.log; true $(( i++ )); done
+ - cp ebizzy.log ebizzy-real.log
+ - cp ebizzy.log ebizzy-user.log
+ - cp ebizzy.log ebizzy-sys.log
+ - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-real.log "real" "Second"
+ - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-user.log "user" "Second"
+ - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-sys.log "sys" "Second"
+
+parse:
+ pattern: "^(?P<test_case_id>\\w+):\\s*(?P<measurement>[0-9\\.]+)\\s+(?P<units>\\w+)\\s+(?P<result>\\w+)"