Bug 1846258 [wpt PR 41243] - Fix running stability jobs for wdspec in Firefox, a...
commit2f91bececef23d8d37ad55f3b8a4b897561ba486
authorJames Graham <james@hoppipolla.co.uk>
Wed, 9 Aug 2023 10:50:06 +0000 (9 10:50 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 10 Aug 2023 14:58:58 +0000 (10 14:58 +0000)
treec6a112c2c5a9f8866dd2d1f364bc2efc7c517e58
parentceacc5ef16e45db3a4dcd58580be8b32e1162df8
Bug 1846258 [wpt PR 41243] - Fix running stability jobs for wdspec in Firefox, a=testonly

Automatic update from web-platform-tests
More consistently use kwargs for global configuration

Ideally we'd rename this everywhere, but in the meantime, avoid
inventing new names/patterns for specific functions.

--
Don't do setup for test types we won't run

This is a small optimisation for cases where paths are passed in.

--
Ensure we copy mutable kwargs into executor_kwargs

Otherwise if the value is mutated later we'll end up also mutating the
original value, and this can cause problems when rerunning multiple
times.

In particular this fixes a bug with the Firefox stability job where we
were duplicating the binary agument to geckodriver and therefore only
the first iteration completed successfully.

--

wpt-commits: 4575870c069c258aa4705dc64ce64054f103e99d716e6dfe1b593f5eda1a710258e999e6707ffbe28d1c8ad6a163266e0e761f788d2f7580a907d2f9
wpt-pr: 41243
testing/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py
testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py
testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py