mirror of
https://github.com/servo/servo.git
synced 2025-07-03 21:43:41 +01:00
fixed an issue related with .DS_Store
This commit is contained in:
parent
11396b4dd3
commit
5e929de224
1 changed files with 2 additions and 2 deletions
|
@ -232,7 +232,7 @@ class MachCommands(CommandBase):
|
||||||
test_patterns.append(test)
|
test_patterns.append(test)
|
||||||
|
|
||||||
if not packages:
|
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')
|
packages.discard('stylo')
|
||||||
|
|
||||||
|
@ -345,7 +345,7 @@ class MachCommands(CommandBase):
|
||||||
test_patterns.append(test)
|
test_patterns.append(test)
|
||||||
|
|
||||||
if not packages:
|
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")
|
packages.remove("helper")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue