From 9bbc633cedc0567d971d42e8ab75af5ee40c8035 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 2 Dec 2014 17:53:12 -0800 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20try=20to=20run=20unit=20tests?= =?UTF-8?q?=20for=20the=20servo=20crate.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are none, but the contenttest program fails with: ``` task '
' panicked at 'Required option 'source-dir' missing.', ../../tests/contenttest.rs:48 ``` --- python/servo/testing_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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