diff options
author | Arthur She <arthur.she@linaro.org> | 2014-12-04 21:54:53 -0800 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-12-08 13:02:12 +0000 |
commit | 0ea91622be261d49f8839ceb1da0e1a66460bc01 (patch) | |
tree | 038eb8edcb956cf08917f137833e3be1f840ede5 /ubuntu/scripts | |
parent | b51c0d888f808b2fd54a081324a945aacf94d41f (diff) |
Ubuntu: Add signaltest.yaml
RT signal roundtrip test software
Change-Id: I6e26c25de245dba56997bec829de472f6fc104c3
Diffstat (limited to 'ubuntu/scripts')
-rwxr-xr-x | ubuntu/scripts/signaltest-parser.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ubuntu/scripts/signaltest-parser.sh b/ubuntu/scripts/signaltest-parser.sh new file mode 100755 index 0000000..38ab757 --- /dev/null +++ b/ubuntu/scripts/signaltest-parser.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +LOG=$1 +tail -n3 ${LOG} > tmp.log +mv tmp.log ${LOG} +sed -i "s/\x1b\[[0-9]A//" ${LOG} # Remove control code +S=`tail -n1 ${LOG} | sed -e "s/.*Min/Min/" -e "s/\([0-9]\) /\1; /g" -e "s/:\s\+/=/g"` +eval $S + +echo "signaltest_min: ${Min} pass" +echo "signaltest_act: ${Act} pass" +echo "signaltest_avg: ${Avg} pass" +echo "signaltest_max: ${Max} pass" |