summaryrefslogtreecommitdiff
path: root/perrors
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-12-16 19:32:47 +0100
committerMartin Stransky <stransky@redhat.com>2020-12-16 19:32:47 +0100
commit100e09ad23f3a51c81fbc2524112a0537a8349fa (patch)
tree5f5c582ad8ea08bc55a987f31c81540ad3f6f8fa /perrors
parentRelease up (diff)
downloadlibrewolf-fedora-ff-100e09ad23f3a51c81fbc2524112a0537a8349fa.tar.gz
librewolf-fedora-ff-100e09ad23f3a51c81fbc2524112a0537a8349fa.tar.bz2
librewolf-fedora-ff-100e09ad23f3a51c81fbc2524112a0537a8349fa.zip
Run xpcshell tests sequentially
Diffstat (limited to 'perrors')
-rwxr-xr-xperrors9
1 files changed, 9 insertions, 0 deletions
diff --git a/perrors b/perrors
new file mode 100755
index 0000000..537a4d0
--- /dev/null
+++ b/perrors
@@ -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
+grep --text " FAIL " $TEST_DIR/xpcshell$TEST_FLAVOUR 2>&1 > failures-xpcshell$TEST_FLAVOUR
+grep --text "REFTEST TEST-UNEXPECTED-FAIL" $TEST_DIR/reftest$TEST_FLAVOUR 2>&1 > failures-reftest$TEST_FLAVOUR
bgstack15