diff options
Diffstat (limited to 'ubuntu/scripts/rt-tests-parser.sh')
-rwxr-xr-x | ubuntu/scripts/rt-tests-parser.sh | 23 |
1 files changed, 0 insertions, 23 deletions
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 |