summaryrefslogtreecommitdiff
path: root/ubuntu/sendme.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-11-25 20:31:30 -0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-12-02 08:50:46 +0000
commitb7ba0a2e455bd5c233b6c2205ed5ec0c7b9d4136 (patch)
tree7ed01f5fc6e3e1fb97c9838cc15000ca86f8fc19 /ubuntu/sendme.yaml
parent9509d817c11e51ea01140ecce105cb573cadd58b (diff)
Ubuntu: add sendme test definition
Send a signal from driver to user and measure time intervals. Change-Id: Id58281786d436d770fe1ebc5cef4ce03346af1fc
Diffstat (limited to 'ubuntu/sendme.yaml')
-rw-r--r--ubuntu/sendme.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/ubuntu/sendme.yaml b/ubuntu/sendme.yaml
new file mode 100644
index 0000000..3631d33
--- /dev/null
+++ b/ubuntu/sendme.yaml
@@ -0,0 +1,34 @@
+metadata:
+ name: sendme
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description:
+ "Send a signal from driver to user and measure time intervals"
+ maintainer:
+ - arthur.she@linaro.org
+ os:
+ - ubuntu
+ devices:
+ - arndale
+ - beaglebone-black
+ - rtsm_fvp_base-aemv8a
+ scope:
+ - performance
+ - preempt-rt
+
+install:
+ deps:
+ - backfire-dkms
+ - rt-tests
+
+params:
+ LOOPS: 1000
+
+run:
+ steps:
+ - 'lava-test-case insert-backfire-module --shell modprobe backfire'
+ - 'sendme -l ${LOOPS} | tee result.log'
+ - 'lava-test-run-attach result.log'
+ - './ubuntu/scripts/sendme-parser.sh result.log'
+
+parse:
+ pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'