boottest-britney debug options respects BOOTTEST_DEBUG configuration option.

This commit is contained in:
Celso Providelo 2015-02-05 14:13:51 -05:00
parent cd49a7eae4
commit 9fb776f4c0

View File

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