diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-09-06 22:18:31 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-09-06 22:18:31 +0100 |
commit | a5451626faf7ee3f02adf5baf9d524c7afa47265 (patch) | |
tree | 4de97253260ba19357c5460e2af205c338c3b0da | |
parent | d4a0e1cacccd876ea0de1738f7cd8b6c0fc656bd (diff) |
Summarize pass/fail status
-rwxr-xr-x | glean-test.sh | 3 | ||||
-rwxr-xr-x | glean-wrapper | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/glean-test.sh b/glean-test.sh index 85daf5a..c2dda15 100755 --- a/glean-test.sh +++ b/glean-test.sh @@ -2,3 +2,6 @@ rm /tmp/glean.log xinit `pwd`/glean-wrapper -- :99 -multiwindow >/tmp/startx.log 2>&1 cat /tmp/glean.log +PASS=`grep -c "PASS " /tmp/glean.log` +FAIL=`grep -c "FAIL " /tmp/glean.log` +echo "PASS: $PASS FAIL: $FAIL" diff --git a/glean-wrapper b/glean-wrapper index 3cb296c..91efc6f 100755 --- a/glean-wrapper +++ b/glean-wrapper @@ -1,5 +1,4 @@ #!/bin/sh echo glean -r tinderbox -o --quick >/tmp/glean.log $JHBUILD_CHECKOUTROOT/glean/bin/glean -r tinderbox -o --quick >>/tmp/glean.log 2>&1 -echo "exit code" $? >>/tmp/glean.log # run again with LIBGL_ALWAYS_INDIRECT=1 ? |