From 5e929de2247619156e9eee255fca126de96ff1d9 Mon Sep 17 00:00:00 2001 From: Huxley Date: Tue, 21 Feb 2017 08:04:45 +0800 Subject: fixed an issue related with .DS_Store --- python/servo/testing_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/servo/testing_commands.py') diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 2417483c4df..0733911d2b4 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -232,7 +232,7 @@ class MachCommands(CommandBase): test_patterns.append(test) if not packages: - packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) + packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) - set(['.DS_Store']) packages.discard('stylo') @@ -345,7 +345,7 @@ class MachCommands(CommandBase): test_patterns.append(test) if not packages: - packages = set(os.listdir(path.join(self.context.topdir, "tests", "compiletest"))) + packages = set(os.listdir(path.join(self.context.topdir, "tests", "compiletest"))) - set(['.DS_Store']) packages.remove("helper") -- cgit v1.2.3