aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-05-18 18:28:25 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-05-18 18:46:29 +0200
commitee2794e9667cc7ce0f2ab451f94f9206e4109048 (patch)
treec6d7a16a94bdf9e79a66548165786b80124c83ad /python/servo/testing_commands.py
parent5e60865d1922a3a9cb813c4c7b4c9908604adfcd (diff)
downloadservo-ee2794e9667cc7ce0f2ab451f94f9206e4109048.tar.gz
servo-ee2794e9667cc7ce0f2ab451f94f9206e4109048.zip
Move bindings tests out of the style crate.
This cuts in almost half the time to run: ``` touch components/style/lib.rs ./mach test-stylo ```
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 64d79e38501..a36d50c2658 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -299,13 +299,8 @@ class MachCommands(CommandBase):
env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target", "geckolib").encode("UTF-8")
release = ["--release"] if release else []
- ret = 0
with cd(path.join("ports", "geckolib")):
- ret = call(["cargo", "test", "-p", "stylo_tests", "--features", "testing"] + release, env=env)
- if ret != 0:
- return ret
- with cd(path.join("ports", "geckolib")):
- return call(["cargo", "test", "-p", "style"] + release, env=env)
+ return call(["cargo", "test", "-p", "stylo_tests", "--features", "testing"] + release, env=env)
@Command('test-compiletest',
description='Run compiletests',