diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-07-12 16:32:50 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-07-12 16:32:50 +0100 |
commit | 0e8f7fbd7d5310c771b6fecc960603149edf84c4 (patch) | |
tree | 1565e51c2a7812cc8d10460f45c0a93bdc56bb43 | |
parent | 8d0520f75f3d271824e097d2537ed0e661af8b6f (diff) |
Format output so it's a bit clearer to see what it's telling you
-rwxr-xr-x | glean-test.sh | 8 | ||||
-rwxr-xr-x | glean-wrapper | 14 |
2 files changed, 18 insertions, 4 deletions
diff --git a/glean-test.sh b/glean-test.sh index 9ae038d..f9ff6a6 100755 --- a/glean-test.sh +++ b/glean-test.sh @@ -22,9 +22,9 @@ EXITCODE=0 if [ $PASS -lt $PREV_PASS ] || [ $FAIL -gt $PREV_FAIL ] ; then # report an error - echo + echo ================== echo "Warning: current PASS: $PASS FAIL: $FAIL worse than previous PASS: $PREV_PASS FAIL: $PREV_FAIL" - echo + echo ================== #EXITCODE=1 else # record pass/fail counts for checking next time @@ -32,6 +32,10 @@ else echo $FAIL >.glean.fail fi +echo ================== +echo Comparison with previous test results +echo ================== + # use glean compare mode to report differences $JHBUILD_CHECKOUTROOT/glean/bin/glean -c previous current 2>/dev/null diff --git a/glean-wrapper b/glean-wrapper index c48fc6b..5a0002e 100755 --- a/glean-wrapper +++ b/glean-wrapper @@ -1,5 +1,15 @@ #!/bin/sh -glxinfo | grep -E "OpenGL [[:alpha:]]* string" >/tmp/glean.log + +echo >/tmp/glean.log +echo ================== >>/tmp/glean.log +echo Querying OpenGL details >>/tmp/glean.log +echo ================== >>/tmp/glean.log + +glxinfo | grep -E "OpenGL [[:alpha:]]* string" >>/tmp/glean.log glxinfo | grep -E "direct" >>/tmp/glean.log -echo glean -r current -o --quick >>/tmp/glean.log + +echo ================== >>/tmp/glean.log +echo Running 'glean -r current -o --quick' >>/tmp/glean.log +echo ================== >>/tmp/glean.log + $JHBUILD_CHECKOUTROOT/glean/bin/glean -r current -o --quick >>/tmp/glean.log 2>&1 |