[llvm] 57eb92e - [llvm-objdump][test] Relax directory prefix check in source-interleave test (#93789)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 31 09:46:19 PDT 2024
Author: Nikita Popov
Date: 2024-05-31T18:46:15+02:00
New Revision: 57eb92ea6c1fbc64692221727219078636ed6c86
URL: https://github.com/llvm/llvm-project/commit/57eb92ea6c1fbc64692221727219078636ed6c86
DIFF: https://github.com/llvm/llvm-project/commit/57eb92ea6c1fbc64692221727219078636ed6c86.diff
LOG: [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.
Added:
Modified:
llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test b/llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
index cbcc35cf79653..dcce95c83b1d2 100644
--- a/llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
+++ b/llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
@@ -11,7 +11,7 @@
# LINES: <main>:
# LINES-NEXT: ; main():
-# LINES-NEXT: ; {{[ -\(\)_A-Za-z0-9.\\/:]+}}source-interleave-x86_64.c:6
+# LINES-NEXT: ; {{.+}}source-interleave-x86_64.c:6
# SOURCE: <main>:
# SOURCE-NEXT: ; int main() {
More information about the llvm-commits
mailing list