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