summaryrefslogtreecommitdiff
path: root/ubuntu/ptsematest.yaml
diff options
context:
space:
mode:
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)'