summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2018-04-19 15:19:41 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2018-05-15 05:43:07 -0700
commitf35d5bbf2b5dad4cada8547d1e29118f80cddd33 (patch)
tree195d50c240145287de1ab089d8a3aca73f05857d /lib
parentd174d6618f0d2343866243d4aeb54b12f8706ccf (diff)
downloadspack-f35d5bbf2b5dad4cada8547d1e29118f80cddd33.tar.gz
spack-f35d5bbf2b5dad4cada8547d1e29118f80cddd33.tar.bz2
spack-f35d5bbf2b5dad4cada8547d1e29118f80cddd33.tar.xz
spack-f35d5bbf2b5dad4cada8547d1e29118f80cddd33.zip
Capture source line number in CTest log parser
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/external/ctest_log_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/external/ctest_log_parser.py b/lib/spack/external/ctest_log_parser.py
index 56e0f57aa1..fc472f28f8 100644
--- a/lib/spack/external/ctest_log_parser.py
+++ b/lib/spack/external/ctest_log_parser.py
@@ -379,7 +379,7 @@ def _parse(lines, offset, profile):
for flm in file_line_matches:
match = flm.search(line)
if match:
- event.source_file, source_line_no = match.groups()
+ event.source_file, event.source_line_no = match.groups()
return errors, warnings, timings