Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: generate_test_report.py

Issue 3890002: Get correct DEBUG logs for generate_test_report. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generate_test_report.py
diff --git a/generate_test_report.py b/generate_test_report.py
index 3ad5e1755db0bfd3e613983ed85b1566da6eae0b..8ff12df24e933bce7e09c4341df153ea16d871bb 100755
--- a/generate_test_report.py
+++ b/generate_test_report.py
@@ -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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698