validate:launcher: Fix default blacklist management
This commit is contained in:
parent
f1851235d5
commit
f45524a3cc
@ -162,17 +162,17 @@ def main():
|
|||||||
% options.clone_dir, Colors.FAIL, True)
|
% options.clone_dir, Colors.FAIL, True)
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
tests_launcher.set_settings(options, args)
|
|
||||||
|
|
||||||
blacklisted = tests_launcher.get_blacklisted()
|
blacklisted = tests_launcher.get_blacklisted()
|
||||||
if blacklisted:
|
if blacklisted:
|
||||||
msg = "Currently 'hardcoded' blacklisted tests:\n"
|
msg = "Currently 'hardcoded' blacklisted tests:\n"
|
||||||
for name, bug in blacklisted:
|
for name, bug in blacklisted:
|
||||||
sys.argv.extend(["-b", name])
|
options.blacklisted_tests.append(name)
|
||||||
msg += " + %s -- bug: %s\n" % (name, bug)
|
msg += " + %s -- bug: %s\n" % (name, bug)
|
||||||
|
|
||||||
printc(msg, Colors.FAIL, True)
|
printc(msg, Colors.FAIL, True)
|
||||||
|
|
||||||
|
tests_launcher.set_settings(options, args)
|
||||||
|
|
||||||
if options.remote_assets_url and options.sync:
|
if options.remote_assets_url and options.sync:
|
||||||
if os.path.exists(options.clone_dir):
|
if os.path.exists(options.clone_dir):
|
||||||
launch_command("cd %s && %s" % (options.clone_dir,
|
launch_command("cd %s && %s" % (options.clone_dir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user