summaryrefslogtreecommitdiff
path: root/run-tests-wayland
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-03-24 19:31:40 +0100
committerMartin Stransky <stransky@redhat.com>2021-03-24 19:31:40 +0100
commit8204271009bce3b4bec4ee9e98f77c60b7c2e7cb (patch)
treef25897e30fc2de801c46d98f8b0efdd27d6d1999 /run-tests-wayland
parentMerge branch 'main' into f34 (diff)
parentxpcshell-test fixes (diff)
downloadlibrewolf-fedora-ff-8204271009bce3b4bec4ee9e98f77c60b7c2e7cb.tar.gz
librewolf-fedora-ff-8204271009bce3b4bec4ee9e98f77c60b7c2e7cb.tar.bz2
librewolf-fedora-ff-8204271009bce3b4bec4ee9e98f77c60b7c2e7cb.zip
Merge branch 'main' into f34
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