summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-06-02 09:58:09 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2013-06-02 09:58:09 +0300
commitf3f40a90861115626ae64c2c137592a5cd5638e9 (patch)
treeb57694128c336a78926920b9bcc74645b5b1e6e4 /ubuntu
parentabc4c973446d2241dadb9bd6cb47a1abc236672c (diff)
Add ltp-realtime test definition to be consistent with all LTP test
definitions Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/ltp-realtime.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/ubuntu/ltp-realtime.yaml b/ubuntu/ltp-realtime.yaml
new file mode 100644
index 0000000..1ce84a4
--- /dev/null
+++ b/ubuntu/ltp-realtime.yaml
@@ -0,0 +1,33 @@
+metadata:
+ name: rt-ltp
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Run LTP test_realtime on Ubuntu."
+
+install:
+ steps:
+ - 'wget http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20130503/ltp-full-20130503.bz2'
+ - 'tar --strip-components=1 -jxf ltp-full-20130503.bz2'
+ - 'mkdir build'
+ - './configure --with-realtime-testsuite --prefix=$(readlink -f build)'
+ - 'make all'
+ - 'make SKIP_IDCHECK=1 install'
+ deps:
+ - bzip2
+ - flex
+ - bison
+ - build-essential
+ - wget
+run:
+ steps:
+ - 'cd build'
+ - 'sudo ./runltp -f test_realtime -p -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