diff options
-rwxr-xr-x | glean-test.sh | 4 | ||||
-rwxr-xr-x | glean-wrapper | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/glean-test.sh b/glean-test.sh index f9ff6a6..3a64064 100755 --- a/glean-test.sh +++ b/glean-test.sh @@ -16,8 +16,8 @@ PASS=`grep -c "PASS " /tmp/glean.log` FAIL=`grep -c "FAIL " /tmp/glean.log` # compare with previous statistics -PREV_PASS=`cat .glean.pass || echo 0` -PREV_FAIL=`cat .glean.fail || echo 9999` +PREV_PASS=`cat .glean.pass 2>/dev/null || echo 0` +PREV_FAIL=`cat .glean.fail 2>/dev/null || echo 9999` EXITCODE=0 if [ $PASS -lt $PREV_PASS ] || [ $FAIL -gt $PREV_FAIL ] ; then diff --git a/glean-wrapper b/glean-wrapper index 5a0002e..1742f78 100755 --- a/glean-wrapper +++ b/glean-wrapper @@ -8,8 +8,9 @@ echo ================== >>/tmp/glean.log glxinfo | grep -E "OpenGL [[:alpha:]]* string" >>/tmp/glean.log glxinfo | grep -E "direct" >>/tmp/glean.log +GLEANARGS='-r current -o --quick --tests -vertattrib' echo ================== >>/tmp/glean.log -echo Running 'glean -r current -o --quick' >>/tmp/glean.log +echo Running \'glean $GLEANARGS\' >>/tmp/glean.log echo ================== >>/tmp/glean.log -$JHBUILD_CHECKOUTROOT/glean/bin/glean -r current -o --quick >>/tmp/glean.log 2>&1 +$JHBUILD_CHECKOUTROOT/glean/bin/glean $GLEANARGS >>/tmp/glean.log 2>&1 |