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
```
This commit is contained in:
Simon Sapin 2014-12-02 17:53:12 -08:00
parent 26cd2b46df
commit 9bbc633ced

View file

@ -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