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 /ubuntu | |
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>
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/pmqtest.yaml | 2 | ||||
-rw-r--r-- | ubuntu/ptsematest.yaml | 2 | ||||
-rwxr-xr-x | ubuntu/scripts/rt-tests-parser.sh | 23 | ||||
-rw-r--r-- | ubuntu/sigwaittest.yaml | 2 | ||||
-rw-r--r-- | ubuntu/svsematest.yaml | 2 |
5 files changed, 4 insertions, 27 deletions
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/scripts/rt-tests-parser.sh b/ubuntu/scripts/rt-tests-parser.sh deleted file mode 100755 index e86c931..0000000 --- a/ubuntu/scripts/rt-tests-parser.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -TESTNAME=$1 -LOG=$2 - -# Find the last line number which starting with control character -N=`grep -n "^#1 -> #0" ${LOG} | tail -n1 | cut -d':' -f1` -sed -n "${N},$ p" ${LOG} > tmp.log - -while read l -do - TC="`echo ${l} | cut -d',' -f1`" - R="`echo ${l} | cut -d',' -f2-`" - IFS=',' - for c in ${R} - do - c="`echo $c|sed 's/^[ ]*//'`" - t="`echo ${c} | cut -d' ' -f1`" - v="`echo ${c} | cut -d' ' -f2`" - echo "${TESTNAME} ${TC} (${t}): ${v} usec pass" - done - unset IFS -done < tmp.log 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: |