aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
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)