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:
Chris Sosa 2010-10-19 13:57:37 -07:00
parent 80e71f2407
commit 62d75f0582

View File

@ -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)