summaryrefslogtreecommitdiff
path: root/openembedded
diff options
context:
space:
mode:
authorRavineet Singh <ravineet.singh@linaro.org>2016-01-12 20:31:35 +0100
committerRavineet Singh <ravineet.singh@linaro.org>2016-01-12 20:31:35 +0100
commit5ac580f5b1201e34965ee987904f87680ca180b4 (patch)
tree0dcc585be6cbfd1eea37b45141ef7ca67c531a58 /openembedded
parentb8b4c26c2b8bbc4f2a4cfaac4ae05c046117e078 (diff)
Ubuntu: moved rt-tests-parser.sh to common, to be used by other OS'es
also updated test definitions pointing to old path. OE: added pmqtest definition Change-Id: Ie9aa8a39fbc4025d477a6368decbe33fa80b94d0 Signed-off-by: Ravineet Singh <ravineet.singh@linaro.org>
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/pmqtest.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/openembedded/pmqtest.yaml b/openembedded/pmqtest.yaml
new file mode 100644
index 0000000..c35ca5c
--- /dev/null
+++ b/openembedded/pmqtest.yaml
@@ -0,0 +1,31 @@
+metadata:
+ name: pmqtest
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Pmqtest measures the latency of interprocess communication with POSIX messages queues.
+ The test starts pairs of threads that are synchronized via mq_send/mw_receive() and
+ measures the latency between sending and receiving the message. The default iteration
+ is set to 1000 which can be changed via JSON file."
+ maintainer:
+ - arthur.she@linaro.org
+ - ravineet.singh@linaro.org
+ os:
+ - openembedded
+ devices:
+ - arndale
+ - juno
+ - x86
+ scope:
+ - performance
+ - preempt-rt
+
+params:
+ LOOPS: 1000
+
+run:
+ steps:
+ - 'pmqtest -l ${LOOPS} -S | tee result.log'
+ - './common/scripts/rt-tests-parser.sh pmqtest 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)'