summaryrefslogtreecommitdiff
path: root/ubuntu/scripts
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-12-08 22:23:00 -0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-12-09 09:25:28 +0000
commita754921041e1f325e12b3cb3a279019e2a013a19 (patch)
treeeae613b23ac36b5f1b75a596baae2d1b1ec0d11c /ubuntu/scripts
parentebf996e25f0833bef90471826e7d291e7a289356 (diff)
Ubuntu: add rt-migrate-test.yaml
Test to verify the RT threads scheduler balancing Change-Id: Ief2dddd96fbda334b5437b852a970001d390a554
Diffstat (limited to 'ubuntu/scripts')
-rwxr-xr-xubuntu/scripts/rt-migrate-test-parser.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/ubuntu/scripts/rt-migrate-test-parser.sh b/ubuntu/scripts/rt-migrate-test-parser.sh
new file mode 100755
index 0000000..e3c5e33
--- /dev/null
+++ b/ubuntu/scripts/rt-migrate-test-parser.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+LOG=$1
+
+sed -n -e "/^ Task 0/,$ p" ${LOG} > tmp.log
+sed -i -e "s/ (.*//" -e "s/^\s*//" tmp.log
+
+while read l;
+do
+ [ -n "`echo $l | grep '^Task'`" ] && T="$l" && continue
+ [ -n "$l" ] && echo "$T $l pass"
+done < tmp.log