Auto merge of #26217 - servo:jdm-patch-40, r=asajeffrey

Disable RUST_BACKTRACE in unit tests on macOS.

This works around #26192 which is a new relatively frequent intermittent crash on CI.
This commit is contained in:
bors-servo 2020-04-18 02:59:52 -04:00 committed by GitHub
commit c6ec063a31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,7 +278,9 @@ class MachCommands(CommandBase):
packages.discard('stylo')
env = self.build_env(test_unit=True)
env["RUST_BACKTRACE"] = "1"
# FIXME: https://github.com/servo/servo/issues/26192
if "apple-darwin" not in host_triple():
env["RUST_BACKTRACE"] = "1"
if "msvc" in host_triple():
# on MSVC, we need some DLLs in the path. They were copied