diff options
author | Martin Stransky <stransky@redhat.com> | 2021-03-03 14:59:03 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2021-03-03 14:59:03 +0100 |
commit | 9ebc9be748937ba00181255086b69bf331d1b3d1 (patch) | |
tree | 9ae92d87e24dadd0cb4b8e91c21dacd018860e4c /print-errors | |
parent | Added fix for mozilla#1694670 (diff) | |
parent | Merge branch 'f33' into rawhide (diff) | |
download | librewolf-fedora-ff-9ebc9be748937ba00181255086b69bf331d1b3d1.tar.gz librewolf-fedora-ff-9ebc9be748937ba00181255086b69bf331d1b3d1.tar.bz2 librewolf-fedora-ff-9ebc9be748937ba00181255086b69bf331d1b3d1.zip |
Added fix for mozbz#1694670 - merge
Diffstat (limited to 'print-errors')
-rwxr-xr-x | print-errors | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/print-errors b/print-errors new file mode 100755 index 0000000..1a41eff --- /dev/null +++ b/print-errors @@ -0,0 +1,9 @@ +#!/usr/bin/bash +# Print failed tests + +TEST_DIR=$1 +TEST_FLAVOUR=$2 + +#grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR 2>&1 > failures-mochitest$TEST_FLAVOUR.txt +grep --text " FAIL " $TEST_DIR/xpcshell$TEST_FLAVOUR 2>&1 > failures-xpcshell$TEST_FLAVOUR.txt +grep --text -e "REFTEST TEST-UNEXPECTED-PASS" -e "REFTEST TEST-UNEXPECTED-FAIL" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > failures-reftest$TEST_FLAVOUR.txt |