diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2013-12-02 17:28:45 +0100 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2013-12-11 09:05:48 +0000 |
commit | 1c7ce8f8c44e711aacae6ad06b1d2cd20ce2eac3 (patch) | |
tree | d05dceec203cfb062d127c0e0f779a5ba088bce7 /openembedded | |
parent | 182d400b04729e416befd7d5d3393f539c052a45 (diff) |
OE/ltp: parameterize cmdfiles
Change-Id: Ifd4dd6213ff17b30624601bdb56230a4f845864a
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'openembedded')
-rw-r--r-- | openembedded/ltp.yaml | 5 | ||||
-rwxr-xr-x | openembedded/scripts/ltpfixup.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/openembedded/ltp.yaml b/openembedded/ltp.yaml index 8dd765d..9dc4c8f 100644 --- a/openembedded/ltp.yaml +++ b/openembedded/ltp.yaml @@ -13,9 +13,12 @@ metadata: devices: - rtsm_ve-armv8 +params: + TST_CMDFILES: syscalls,mm,math,timers,fcntl-locktests,ipc,fsx,fs,hugetlb + run: steps: - - './openembedded/scripts/ltpfixup.sh' + - './openembedded/scripts/ltpfixup.sh $TST_CMDFILES' parse: pattern: "^(?P<test_case_id>\\S+)\\s+(?P<result>\\w+)\\s+.+" diff --git a/openembedded/scripts/ltpfixup.sh b/openembedded/scripts/ltpfixup.sh index 7ac7fe5..3374d58 100755 --- a/openembedded/scripts/ltpfixup.sh +++ b/openembedded/scripts/ltpfixup.sh @@ -1,6 +1,6 @@ #!/bin/sh cd /opt/ltp -./runltp -p -q -f syscalls,mm,math,timers,fcntl-locktests,ipc,fsx,fs,hugetlb +./runltp -p -q -f $1 find ./results -name "LTP_RUN_ON*" -print0 |xargs -0 cat exit 0 |