diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2013-06-18 10:12:34 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-06-18 11:24:19 +0300 |
commit | 3d3a408143d290241dc11294f68bf5a838b3921a (patch) | |
tree | 3aa74ccf82659a5b5d6f83967489e2b1ff68a002 /openembedded | |
parent | 11e04aab4494b76e9bc451038636782440341338 (diff) |
openembedded: Added rt-* tests
rt-hackbench, rt-cyclictest and rt-ltp
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'openembedded')
-rw-r--r-- | openembedded/rt-cyclictest.yaml | 9 | ||||
-rw-r--r-- | openembedded/rt-hackbench.yaml | 13 | ||||
-rw-r--r-- | openembedded/rt-ltp.yaml | 19 |
3 files changed, 41 insertions, 0 deletions
diff --git a/openembedded/rt-cyclictest.yaml b/openembedded/rt-cyclictest.yaml new file mode 100644 index 00000000..9d09a3e2 --- /dev/null +++ b/openembedded/rt-cyclictest.yaml @@ -0,0 +1,9 @@ +metadata: + name: rt-cyclictest + format: "Lava-Test-Shell Test Definition 1.0" + description: "Cyclictest Real Time Suite" + +run: + steps: + - "exec cyclictest -t50 -p 80 -i 10000 -n -d 86400 -a 1 > ~/cyclictest.log" + - "lava-test-case-attach ~/cyclictest.log text/plain" diff --git a/openembedded/rt-hackbench.yaml b/openembedded/rt-hackbench.yaml new file mode 100644 index 00000000..0e4865d7 --- /dev/null +++ b/openembedded/rt-hackbench.yaml @@ -0,0 +1,13 @@ +metadata: + name: rt-hackbench + format: "Lava-Test-Shell Test Definition 1.0" + description: "Hackbench Real Time Suite" + +run: + steps: + - while true; do dd if=/dev/zero of=bigfile bs=1024000 count=1024; done & + - while true; do killall hackbench; sleep 5; done & + - while true; do hackbench 20; done & + +parse: + pattern: "^(Time:[\\w/\\.]+):\\s+(?P<message>.+)\\.\\.\\.\\s+(?P<result>\\w+)" diff --git a/openembedded/rt-ltp.yaml b/openembedded/rt-ltp.yaml new file mode 100644 index 00000000..5cba6ef1 --- /dev/null +++ b/openembedded/rt-ltp.yaml @@ -0,0 +1,19 @@ +metadata: + name: rt-ltp + format: "Lava-Test-Shell Test Definition 1.0" + description: "Realtime LTP tests." + +run: + steps: + - 'cd /opt/ltp' + - './runltplite.sh -q' + +parse: + pattern: "^(?P<test_case_id>\\S+)\\s+\\d+\\s+(?P<result>\\w+)\\s+:\\s+.+" + fixupdict: + TBROK: fail + TCONF: skip + TFAIL: fail + TINFO: skip + TPASS: pass + TWARN: unknown |