diff options
author | Ravineet Singh <ravineet.singh@linaro.org> | 2016-01-12 20:31:35 +0100 |
---|---|---|
committer | Ravineet Singh <ravineet.singh@linaro.org> | 2016-01-12 20:31:35 +0100 |
commit | 5ac580f5b1201e34965ee987904f87680ca180b4 (patch) | |
tree | 0dcc585be6cbfd1eea37b45141ef7ca67c531a58 | |
parent | b8b4c26c2b8bbc4f2a4cfaac4ae05c046117e078 (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>
-rwxr-xr-x | common/scripts/rt-tests-parser.sh (renamed from ubuntu/scripts/rt-tests-parser.sh) | 0 | ||||
-rw-r--r-- | openembedded/pmqtest.yaml | 31 | ||||
-rw-r--r-- | ubuntu/pmqtest.yaml | 2 | ||||
-rw-r--r-- | ubuntu/ptsematest.yaml | 2 | ||||
-rw-r--r-- | ubuntu/sigwaittest.yaml | 2 | ||||
-rw-r--r-- | ubuntu/svsematest.yaml | 2 |
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: |