summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommon/scripts/rt-tests-parser.sh (renamed from ubuntu/scripts/rt-tests-parser.sh)0
-rw-r--r--openembedded/pmqtest.yaml31
-rw-r--r--ubuntu/pmqtest.yaml2
-rw-r--r--ubuntu/ptsematest.yaml2
-rw-r--r--ubuntu/sigwaittest.yaml2
-rw-r--r--ubuntu/svsematest.yaml2
6 files changed, 35 insertions, 4 deletions
diff --git a/ubuntu/scripts/rt-tests-parser.sh b/common/scripts/rt-tests-parser.sh
index e86c931..e86c931 100755
--- a/ubuntu/scripts/rt-tests-parser.sh
+++ b/common/scripts/rt-tests-parser.sh
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)'
diff --git a/ubuntu/pmqtest.yaml b/ubuntu/pmqtest.yaml
index efc3aaa..bd1b93e 100644
--- a/ubuntu/pmqtest.yaml
+++ b/ubuntu/pmqtest.yaml
@@ -28,7 +28,7 @@ params:
run:
steps:
- 'pmqtest -l ${LOOPS} -S | tee result.log'
- - './ubuntu/scripts/rt-tests-parser.sh pmqtest result.log'
+ - './common/scripts/rt-tests-parser.sh pmqtest result.log'
- 'lava-test-run-attach result.log'
parse:
diff --git a/ubuntu/ptsematest.yaml b/ubuntu/ptsematest.yaml
index b916580..a9c5d10 100644
--- a/ubuntu/ptsematest.yaml
+++ b/ubuntu/ptsematest.yaml
@@ -28,7 +28,7 @@ params:
run:
steps:
- 'ptsematest -l ${LOOPS} -t | tee result.log'
- - './ubuntu/scripts/rt-tests-parser.sh ptsematest result.log'
+ - './common/scripts/rt-tests-parser.sh ptsematest result.log'
- 'lava-test-run-attach result.log'
parse:
diff --git a/ubuntu/sigwaittest.yaml b/ubuntu/sigwaittest.yaml
index 1d42e2f..9d42cd1 100644
--- a/ubuntu/sigwaittest.yaml
+++ b/ubuntu/sigwaittest.yaml
@@ -27,7 +27,7 @@ params:
run:
steps:
- 'sigwaittest -l ${LOOPS} -t | tee result.log'
- - './ubuntu/scripts/rt-tests-parser.sh sigwaittest result.log'
+ - './common/scripts/rt-tests-parser.sh sigwaittest result.log'
- 'lava-test-run-attach result.log'
parse:
diff --git a/ubuntu/svsematest.yaml b/ubuntu/svsematest.yaml
index c02e79f..ee4d89f 100644
--- a/ubuntu/svsematest.yaml
+++ b/ubuntu/svsematest.yaml
@@ -28,7 +28,7 @@ params:
run:
steps:
- 'svsematest -l ${LOOPS} -t | tee result.log'
- - './ubuntu/scripts/rt-tests-parser.sh svsematest result.log'
+ - './common/scripts/rt-tests-parser.sh svsematest result.log'
- 'lava-test-run-attach result.log'
parse: