[llvm] [llvm-objdump][test] Relax directory prefix check in source-interleave test (PR #93789)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 00:47:32 PDT 2024
================
@@ -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
----------------
jh7370 wrote:
FWIW, I think this should probably actually be using a FileCheck variable, defined on the command-line using a lit substitution (e.g. `FileCheck -D SRC_DIR=%S ...` and here `; [[SRC_DIR]]source-interleave-x86_64.c:6`.
https://github.com/llvm/llvm-project/pull/93789
More information about the llvm-commits
mailing list