Skip to content

Commit d7a95e7

Browse files
committed
Fix resolve-crashes.py for recent change
1 parent 3cfcb55 commit d7a95e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/resolve-crashes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ def execute_cmd(cmd):
1515

1616
# The regular expression we use to match compiler-crasher lines.
1717
regex = re.compile(
18-
'.*Swift :: '
18+
'.*Swift(.*) :: '
1919
'(compiler_crashers|compiler_crashers_2|IDE/crashers)/(.*\.swift).*')
2020

2121
# Take the output of lit as standard input.
2222
for line in sys.stdin:
2323
match = regex.match(line)
2424
if match:
25-
suffix = match.group(1)
26-
filename = match.group(2)
25+
suffix = match.group(2)
26+
filename = match.group(3)
2727

2828
# Move the test over to the fixed suite.
2929
from_filename = 'validation-test/%s/%s' % (suffix, filename)

0 commit comments

Comments
 (0)