summaryrefslogtreecommitdiff
path: root/ubuntu/pmqtest.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-11-28 18:15:36 -0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-12-02 08:46:29 +0000
commit9509d817c11e51ea01140ecce105cb573cadd58b (patch)
tree17153a683cb3758ea439b07cdf9243a9c7b9e041 /ubuntu/pmqtest.yaml
parent8b697e04368a589acc43f4bc21f6dd533a6f1574 (diff)
Ubuntu: Add pmqtest.yaml
Start pairs of threads and measure the latency of interprocess communication with POSIX messages queues. Change-Id: Iab52c118fee1fed9fbcf32cc9e6f9354b474077d
Diffstat (limited to 'ubuntu/pmqtest.yaml')
-rw-r--r--ubuntu/pmqtest.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/ubuntu/pmqtest.yaml b/ubuntu/pmqtest.yaml
new file mode 100644
index 0000000..ecd890a
--- /dev/null
+++ b/ubuntu/pmqtest.yaml
@@ -0,0 +1,33 @@
+metadata:
+ name: pmqtest
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description:
+ "Start pairs of threads and measure the latency of interprocess
+ communication with POSIX messages queues"
+ 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:
+ - 'pmqtest -l ${LOOPS} -S | 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)'