summaryrefslogtreecommitdiff
path: root/ubuntu/sigwaittest.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-11-28 19:20:51 -0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-12-02 08:45:07 +0000
commit8b697e04368a589acc43f4bc21f6dd533a6f1574 (patch)
tree26097dbc7e72d892d3758834294209a04847bb9a /ubuntu/sigwaittest.yaml
parent2266e29e9a0437f3ae0660806571d44c2b60febe (diff)
Ubuntu: add sigwaittest.yaml
Start two threads or fork two processes and measure the latency between sending and receiving a signal Change-Id: Ia14218c8c4aa9128e7551b4c77013c3a3026c97b
Diffstat (limited to 'ubuntu/sigwaittest.yaml')
-rw-r--r--ubuntu/sigwaittest.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/ubuntu/sigwaittest.yaml b/ubuntu/sigwaittest.yaml
new file mode 100644
index 0000000..dfeca6a
--- /dev/null
+++ b/ubuntu/sigwaittest.yaml
@@ -0,0 +1,33 @@
+metadata:
+ name: sigwaittest
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description:
+ "Start two threads or fork two processes and measure the latency between sending and
+ receiving a signal"
+ 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:
+ - 'sigwaittest -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)'