summaryrefslogtreecommitdiff
path: root/ubuntu
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 /ubuntu
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 'ubuntu')
-rw-r--r--ubuntu/ebizzy.yaml49
1 files changed, 49 insertions, 0 deletions
diff --git a/ubuntu/ebizzy.yaml b/ubuntu/ebizzy.yaml
new file mode 100644
index 0000000..5b657ce
--- /dev/null
+++ b/ubuntu/ebizzy.yaml
@@ -0,0 +1,49 @@
+metadata:
+ name: ebizzy
+ version: "1.0"
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Running ebizzy tool"
+ os:
+ - ubuntu
+ devices:
+ - beaglebone-black
+ - panda
+ - panda-es
+ - vexpress-a9
+ - vexpress-tc2
+
+install:
+ git-repos:
+ - url: https://github.com/linux-test-project/ltp.git
+
+ deps:
+ - python-numpy
+ - coreutils
+
+ steps:
+ - cd ltp/utils/benchmark/ebizzy-0.3/
+ - chmod +x configure
+ - ./configure
+ - sed -i 's/lpthread/pthread/' Makefile
+ - make
+
+params:
+ THREADS: 2
+ TIME: 20
+ REPEAT: 50
+
+run:
+ steps:
+ - CURRENT_DIR=$(pwd)
+ - cd ltp/utils/benchmark/ebizzy-0.3/
+ - i=1
+ - 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+)"