aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-12-02 17:53:12 -0800
committerSimon Sapin <simon.sapin@exyr.org>2014-12-02 18:04:06 -0800
commit9bbc633cedc0567d971d42e8ab75af5ee40c8035 (patch)
tree40905b90da25f280124ef26e8ce549bc6e185c05 /python/servo/testing_commands.py
parent26cd2b46df2a49ae37d8a22a4b6ed1116b01e49a (diff)
downloadservo-9bbc633cedc0567d971d42e8ab75af5ee40c8035.tar.gz
servo-9bbc633cedc0567d971d42e8ab75af5ee40c8035.zip
Don’t try to run unit tests for the servo crate.
There are none, but the contenttest program fails with: ``` task '<main>' panicked at 'Required option 'source-dir' missing.', ../../tests/contenttest.rs:48 ```
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 7d32d1e4808..ff4844731d8 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -110,7 +110,8 @@ class MachCommands(CommandBase):
env=self.build_env(), cwd=self.servo_crate())
for component in os.listdir("components"):
- ret = ret or cargo_test(component)
+ if component != "servo":
+ ret = ret or cargo_test(component)
return ret