Skip to content

Commit

Permalink
Update WR (Intel driver workaround, subpixel and other bugfixes).
Browse files Browse the repository at this point in the history
Fixes #16777.
  • Loading branch information
gw3583 committed May 22, 2017
1 parent 460c90a commit 2b49196
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions python/servo/testing_commands.py
Expand Up @@ -458,6 +458,14 @@ def run_test_list_or_dispatch(self, requested_paths, correct_suite, correct_func
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"):
Expand Down

0 comments on commit 2b49196

Please sign in to comment.