Fixed test filter

This commit is contained in:
Nathan Climer 2014-12-01 16:18:32 -05:00
parent 9afdce4405
commit 2dc0b8973d

View file

@ -105,7 +105,7 @@ class MachCommands(CommandBase):
def cargo_test(component):
return 0 != subprocess.call(
["cargo", "test", "-p", component], env=self.build_env())
["cargo", "test", "-p", component] + test_name, env=self.build_env())
for component in os.listdir("components"):
ret = ret or cargo_test(component)