aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorHuxley <framlog@gmail.com>2017-02-21 08:04:45 +0800
committerHuxley <framlog@gmail.com>2017-02-22 20:57:58 +0800
commit5e929de2247619156e9eee255fca126de96ff1d9 (patch)
tree88c6ec1de1423df449828975fec2112c60eb6db7 /python/servo/testing_commands.py
parent11396b4dd3834d6794bd4e32f30c1df96fc6a01d (diff)
downloadservo-5e929de2247619156e9eee255fca126de96ff1d9.tar.gz
servo-5e929de2247619156e9eee255fca126de96ff1d9.zip
fixed an issue related with .DS_Store
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py4
1 files changed, 2 insertions, 2 deletions
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")