mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Don't crash when -p is specified with test-unit
This commit is contained in:
parent
919bf17e51
commit
c5a7bb2569
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class MachCommands(CommandBase):
|
||||||
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")))
|
||||||
|
|
||||||
packages.remove('stylo')
|
packages.discard('stylo')
|
||||||
|
|
||||||
args = ["cargo", "test"]
|
args = ["cargo", "test"]
|
||||||
for crate in packages:
|
for crate in packages:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue