aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-12-02 14:33:23 -0800
committerSimon Sapin <simon.sapin@exyr.org>2014-12-02 18:04:06 -0800
commitcc4ea7507f9a4b51833f3134817d3870a6142d22 (patch)
treee3c1b169718cde75bfb0d1e0e574f1cee49aba1d /python/servo/testing_commands.py
parentff4877b4734c5a95921f63bb7b516e06a9223cbe (diff)
downloadservo-cc4ea7507f9a4b51833f3134817d3870a6142d22.tar.gz
servo-cc4ea7507f9a4b51833f3134817d3870a6142d22.zip
Make build system more independent of current directory.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index aa091f9bc06..7d32d1e4808 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -107,7 +107,7 @@ class MachCommands(CommandBase):
def cargo_test(component):
return 0 != subprocess.call(
["cargo", "test", "-p", component] + test_name,
- env=self.build_env(), cwd="components/servo")
+ env=self.build_env(), cwd=self.servo_crate())
for component in os.listdir("components"):
ret = ret or cargo_test(component)