aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-03-16 11:42:59 -0600
committerbors-servo <metajack+bors@gmail.com>2015-03-16 11:42:59 -0600
commitcf39c672b66640ab28d12ab9e6c97c0af9344212 (patch)
tree7e2111cb1f4fc2c51d7e346c103925f4a33d93cf /python/servo/testing_commands.py
parentccc6faa14787765485dae7ccd0976cd7e1764185 (diff)
parent0aa727e5b6437e3b1dc5377ba932c15f4b7b41c6 (diff)
downloadservo-cf39c672b66640ab28d12ab9e6c97c0af9344212.tar.gz
servo-cf39c672b66640ab28d12ab9e6c97c0af9344212.zip
auto merge of #5210 : GreenRecycleBin/servo/#4968, r=jdm
`./mach test tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm` is still failing with the same message as reported in #3219.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 9fb847d303a..4f4201885bc 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -30,8 +30,8 @@ class MachCommands(CommandBase):
if self.context.built_tests:
return
returncode = Registrar.dispatch('build-tests', context=self.context)
- if returncode:
- sys.exit(returncode)
+ if returncode:
+ sys.exit(returncode)
self.context.built_tests = True
def find_test(self, prefix):
@@ -238,7 +238,8 @@ class MachCommands(CommandBase):
processes = str(multiprocessing.cpu_count()) if processes is None else processes
params = params + ["--processes", processes]
+ hosts_file_path = path.join('tests', 'wpt', 'hosts')
return subprocess.call(
["bash", path.join("tests", "wpt", "run.sh")] + params,
- env=self.build_env())
+ env=self.build_env(hosts_file_path=hosts_file_path))