Dump all log errors to console
Errors that are not whitelisted are tagged for differentiation. Change-Id: I1a4f392b3fe4276afbe1610af679d5e11ee8acad
This commit is contained in:
parent
5a059ef44f
commit
955a9e39ec
@ -29,7 +29,7 @@ import yaml
|
||||
is_neutron = os.environ.get('DEVSTACK_GATE_NEUTRON', "0") == "1"
|
||||
is_grenade = (os.environ.get('DEVSTACK_GATE_GRENADE', "0") == "1" or
|
||||
os.environ.get('DEVSTACK_GATE_GRENADE_FORWARD', "0") == "1")
|
||||
dump_all_errors = is_neutron
|
||||
dump_all_errors = True
|
||||
|
||||
|
||||
def process_files(file_specs, url_specs, whitelists):
|
||||
@ -70,6 +70,7 @@ def scan_content(name, content, regexp, whitelist):
|
||||
print_log_name = False
|
||||
if not whitelisted:
|
||||
had_errors = True
|
||||
print("*** Not Whitelisted ***"),
|
||||
print(line)
|
||||
return had_errors
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user