From 1d497828a76ae0739463ef6a196fa4b98b06173c Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 20 Sep 2016 20:38:16 +0530 Subject: Move sanity checks to stylo tests --- python/servo/testing_commands.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'python/servo/testing_commands.py') diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 7e146afc055..a3206b745f3 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -208,6 +208,8 @@ class MachCommands(CommandBase): if not packages: packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) + packages.remove('stylo') + args = ["cargo", "test"] for crate in packages: args += ["-p", "%s_tests" % crate] @@ -235,10 +237,7 @@ class MachCommands(CommandBase): @Command('test-stylo', description='Run stylo unit tests', category='testing') - def test_unit(self, test_name=None, package=None): - if test_name is None: - test_name = [] - + def test_stylo(self): self.set_use_stable_rust() self.ensure_bootstrapped() -- cgit v1.2.3