boottest-britney debug options respects BOOTTEST_DEBUG configuration option.

bzr-import-20160707
Celso Providelo 10 years ago
parent cd49a7eae4
commit 9fb776f4c0

@ -178,10 +178,12 @@ class BootTest(object):
return '-' return '-'
command = [ command = [
self.script_path, self.script_path,
"-dPU",
"-c", self.rc_path, "-c", self.rc_path,
"-r", self.series, "-r", self.series,
"-PU",
] ]
if self.debug:
command.append("-d")
command.extend(args) command.extend(args)
return subprocess.check_output(command).strip() return subprocess.check_output(command).strip()

Loading…
Cancel
Save