From 27ae1ef2e7d78f38e744f2e00e177302f2d6aa82 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 28 Apr 2017 00:35:22 -0400 Subject: Thread ParseError return values through CSS parsing. --- python/servo/testing_commands.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'python/servo/testing_commands.py') diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 23b25a00e2a..259ffb559de 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -232,6 +232,15 @@ class MachCommands(CommandBase): test_patterns.append(test) in_crate_packages = [] + + # Since the selectors tests have no corresponding selectors_tests crate in tests/unit, + # we need to treat them separately from those that do. + try: + packages.remove('selectors') + in_crate_packages += ["selectors"] + except KeyError: + pass + if not packages: packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) - set(['.DS_Store']) in_crate_packages += ["selectors"] -- cgit v1.2.3