Don't crash when -p is specified with test-unit

This commit is contained in:
Manish Goregaokar 2016-09-23 11:39:05 +05:30
parent 919bf17e51
commit c5a7bb2569

View file

@ -208,7 +208,7 @@ class MachCommands(CommandBase):
if not packages:
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit")))
packages.remove('stylo')
packages.discard('stylo')
args = ["cargo", "test"]
for crate in packages: