Skip to content

Commit 57eb92e

Browse files
authored
[llvm-objdump][test] Relax directory prefix check in source-interleave test (#93789)
This test currently has an explicit regex for characters that are supposedly valid inside a directory name -- however, it does not actually cover all necessary characters. For example, this test fails if the path contains a tilde. Instead, replace this with a wildcard.
1 parent 7b6a89f commit 57eb92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test

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

1212
# LINES: <main>:
1313
# LINES-NEXT: ; main():
14-
# LINES-NEXT: ; {{[ -\(\)_A-Za-z0-9.\\/:]+}}source-interleave-x86_64.c:6
14+
# LINES-NEXT: ; {{.+}}source-interleave-x86_64.c:6
1515

1616
# SOURCE: <main>:
1717
# SOURCE-NEXT: ; int main() {

0 commit comments

Comments
 (0)