diff options
author | Senthil Kumaran <senthil.kumaran@linaro.org> | 2013-05-20 14:08:50 +0530 |
---|---|---|
committer | Senthil Kumaran <senthil.kumaran@linaro.org> | 2013-05-20 14:08:50 +0530 |
commit | 5149a5267d6312929eec2656c5e62c907ecf644e (patch) | |
tree | 3c74b445e7f188ce7dcb9bed41e59f14b4527f42 /ubuntu | |
parent | 914f72839352fd3a2316c5b16338cbafcefddcc7 (diff) |
Add realtime LTP test definition.
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/rt-ltp.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ubuntu/rt-ltp.yaml b/ubuntu/rt-ltp.yaml new file mode 100644 index 0000000..90204a6 --- /dev/null +++ b/ubuntu/rt-ltp.yaml @@ -0,0 +1,32 @@ +metadata:
+ name: ltp
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Realtime LTP tests."
+
+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
+run:
+ steps:
+ - 'cd build'
+ - 'sudo ./runltp -f syscalls -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: unknown
+ TPASS: pass
+ TWARN: unknown
|