Fix 'mach test'

This commit is contained in:
Vinzent Steinberg 2015-08-15 14:38:44 +02:00
parent fe7b443c16
commit 824384a1c2

View file

@ -325,7 +325,7 @@ class MachCommands(CommandBase):
help='Number of jobs to run in parallel') help='Number of jobs to run in parallel')
@CommandArgument('--release', default=False, action="store_true", @CommandArgument('--release', default=False, action="store_true",
help="Build tests with release mode") help="Build tests with release mode")
def build_tests(self, jobs=None, release=False): def build_tests(self, jobs=None, verbose=False, release=False):
self.ensure_bootstrapped() self.ensure_bootstrapped()
args = ["cargo", "test", "--no-run"] args = ["cargo", "test", "--no-run"]
if is_headless_build(): if is_headless_build():