summaryrefslogtreecommitdiff
path: root/ubuntu/ptsematest.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-11-28 18:24:49 -0800
committerArthur She <arthur.she@linaro.org>2014-11-28 18:24:49 -0800
commitd1a4e553209be2862c7ff569ec31de113e34edbc (patch)
tree511a9deec0f12a0a5280c6fc818d407b09df35dc /ubuntu/ptsematest.yaml
parenta714a050b9f32f447268800bf5888522231f4aa1 (diff)
Ubuntu: add ptsematest.yaml
Start two threads and measure the latency of interprocess communication with POSIX mutex. Change-Id: Icbfc23ac6ed210b3a8bbec748bc5dee19128f541
Diffstat (limited to 'ubuntu/ptsematest.yaml')
-rw-r--r--ubuntu/ptsematest.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/ubuntu/ptsematest.yaml b/ubuntu/ptsematest.yaml
new file mode 100644
index 0000000..a0c0caf
--- /dev/null
+++ b/ubuntu/ptsematest.yaml
@@ -0,0 +1,32 @@
+metadata:
+ name: ptsematest
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description:
+ "Start two threads and measure the latency of interprocess communication with POSIX mutex"
+ maintainer:
+ - arthur.she@linaro.org
+ os:
+ - ubuntu
+ devices:
+ - arndale
+ - beaglebone-black
+ - rtsm_fvp_base-aemv8a
+ scope:
+ - performance
+ - preempt-rt
+
+install:
+ deps:
+ - rt-tests
+
+params:
+ LOOPS: 1000
+
+run:
+ steps:
+ - 'ptsematest -l ${LOOPS} -t | tee result.log'
+ - './ubuntu/scripts/rt-tests-parser.sh result.log'
+ - 'lava-test-run-attach result.log'
+
+parse:
+ pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'