mirror of
https://github.com/servo/servo.git
synced 2025-06-08 16:43:28 +00:00
Update WR (Intel driver workaround, subpixel and other bugfixes).
Fixes #16777.
This commit is contained in:
parent
460c90af8d
commit
2b491963e5
2 changed files with 10 additions and 2 deletions
|
@ -458,6 +458,14 @@ class MachCommands(CommandBase):
|
|||
def wptrunner(self, run_file, **kwargs):
|
||||
self.set_software_rendering_env(kwargs['release'])
|
||||
|
||||
# By default, Rayon selects the number of worker threads
|
||||
# based on the available CPU count. This doesn't work very
|
||||
# well when running tests on CI, since we run so many
|
||||
# Servo processes in parallel. The result is a lot of
|
||||
# extra timeouts. Instead, force Rayon to assume we are
|
||||
# running on a 2 CPU environment.
|
||||
os.environ['RAYON_RS_NUM_CPUS'] = "2"
|
||||
|
||||
os.environ["RUST_BACKTRACE"] = "1"
|
||||
kwargs["debug"] = not kwargs["release"]
|
||||
if kwargs.pop("chaos"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue