summaryrefslogtreecommitdiff
path: root/run-tests-wayland
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-03-24 19:31:06 +0100
committerMartin Stransky <stransky@redhat.com>2021-03-24 19:31:06 +0100
commit624b802b9ceb9c6bbc5e923c0a2f718ce9558f20 (patch)
treef25897e30fc2de801c46d98f8b0efdd27d6d1999 /run-tests-wayland
parentEnabled tests, disabled arm (diff)
downloadlibrewolf-fedora-ff-624b802b9ceb9c6bbc5e923c0a2f718ce9558f20.tar.gz
librewolf-fedora-ff-624b802b9ceb9c6bbc5e923c0a2f718ce9558f20.tar.bz2
librewolf-fedora-ff-624b802b9ceb9c6bbc5e923c0a2f718ce9558f20.zip
xpcshell-test fixes
Diffstat (limited to 'run-tests-wayland')
-rwxr-xr-xrun-tests-wayland14
1 files changed, 7 insertions, 7 deletions
diff --git a/run-tests-wayland b/run-tests-wayland
index e526115..28a4800 100755
--- a/run-tests-wayland
+++ b/run-tests-wayland
@@ -75,29 +75,29 @@ if [ $RUN_XPCSHELL_TEST -ne 0 ] ; then
fi
# Basic render testing
-export TEST_PARAMS=""
+export TEST_PARAMS="--setpref reftest.ignoreWindowSize=true"
export TEST_FLAVOUR=""
if [ $RUN_REFTEST -ne 0 ] ; then
- ./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
+ ./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
fi
if [ $RUN_CRASHTEST -ne 0 ] ; then
- ./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
+ ./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
fi
if [ $RUN_MOCHITEST -ne 0 ] ; then
- ./mach mochitest $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
+ ./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
fi
# WebRender testing
export TEST_PARAMS="--enable-webrender $TEST_PARAMS"
export TEST_FLAVOUR="-wr"
if [ $RUN_REFTEST -ne 0 ] ; then
-./mach reftest $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
+./mach reftest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/reftest$TEST_FLAVOUR
fi
if [ $RUN_CRASHTEST -ne 0 ] ; then
-./mach crashtest $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
+./mach crashtest --marionette localhost:$(($(($RANDOM))+2000)) $TEST_PARAMS 2>&1 | tee $TEST_DIR/crashtest$TEST_FLAVOUR
fi
if [ $RUN_MOCHITEST -ne 0 ] ; then
-./mach mochitest $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
+./mach mochitest --marionette localhost:$(($(($RANDOM))+2000)) $MOCHITEST_PARAMS $TEST_PARAMS 2>&1 | tee $TEST_DIR/mochitest$TEST_FLAVOUR
fi
rm -f objdir/dist/bin/certutil
bgstack15