diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2016-09-20 20:38:16 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-09-21 00:05:54 +0530 |
commit | 1d497828a76ae0739463ef6a196fa4b98b06173c (patch) | |
tree | bb212fc6f113f71332737b3ba0ef8b0a23914a4c /python/servo/testing_commands.py | |
parent | c615a0dabc8828a6c63af83746c428c3d2bb0b7e (diff) | |
download | servo-1d497828a76ae0739463ef6a196fa4b98b06173c.tar.gz servo-1d497828a76ae0739463ef6a196fa4b98b06173c.zip |
Move sanity checks to stylo tests
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 7 |
1 files changed, 3 insertions, 4 deletions
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() |