mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
Get correct DEBUG logs for generate_test_report.
Change-Id: Ia77ec225abc0e8906662b57ca8e71bbb13b42635 BUG= TEST=Ran it. Review URL: http://codereview.chromium.org/3890002
This commit is contained in:
parent
80e71f2407
commit
62d75f0582
@ -212,7 +212,7 @@ class ReportGenerator(object):
|
||||
if self._options.print_debug:
|
||||
for test in tests_with_errors:
|
||||
debug_file_regex = os.path.join(self._options.strip, test, 'debug',
|
||||
'client.*.DEBUG')
|
||||
'%s*.DEBUG' % os.path.basename(test))
|
||||
for path in glob.glob(debug_file_regex):
|
||||
try:
|
||||
fh = open(path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user