Skip to content

Commit c24b8e9

Browse files
authored
[DTLTO][TEST] Loosen Clang driver test regexes to fix buildbots (#159158)
Make the test regexes more permissive to fix buildbot failures caused by the merge of PR #159129. This mirrors the earlier fix in PR #148908. We retain cross-project-test coverage to verify that the path content is correct. A follow-up will update the tests to robustly check the Clang executable filename, likely along the lines of PR #159151. Short-term unbreak to keep the buildbots green without reverting a chain of commits.
1 parent ca8c5ef commit c24b8e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/Driver/DTLTO/dtlto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
// DEFAULT: ld.lld
4040
// DEFAULT-SAME: "--thinlto-distributor=d.exe"
41-
// DEFAULT-SAME: "--thinlto-remote-compiler={{.*}}clang{{[^\"]*}}"
41+
// DEFAULT-SAME: "--thinlto-remote-compiler={{[^"]+}}"
4242

4343
/// Check that nothing is forwarded when the compiler is not in LTO mode, and that
4444
/// appropriate unused option warnings are issued.

clang/test/Driver/DTLTO/ps5-dtlto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
// DEFAULT: prospero-lld
4040
// DEFAULT-SAME: "--thinlto-distributor=d.exe"
41-
// DEFAULT-SAME: "--thinlto-remote-compiler={{.*}}clang{{[^\"]*}}"
41+
// DEFAULT-SAME: "--thinlto-remote-compiler={{[^"]+}}"
4242

4343
/// Check that the arguments are forwarded unconditionally even when the
4444
/// compiler is not in LTO mode.

0 commit comments

Comments
 (0)