Skip to content

Commit f9b371d

Browse files
committed
[llvm-exegis][test] Ignore file path in no-aliasing-ld-str.s
This test failed on a buildbot where the path happened to contain "ld2": /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.obj: file format elf64-littleaarch64 To fix this, make lit consume a line past this one and do the check-not after that point.
1 parent 22b79fb commit f9b371d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/test/tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ RUN: llvm-exegesis -mtriple=aarch64 -mcpu=neoverse-v2 -mode=latency --dump-objec
44
RUN: llvm-objdump -d %t.obj > %t.s
55
RUN: FileCheck %s < %t.s
66

7+
// Start matching after the printed file path, as that may contain something that looks like a mnemonic.
8+
CHECK: Disassembly of section .text:
79
CHECK-NOT: ld{{[1-4]}}
810
CHECK-NOT: st{{[1-4]}}

0 commit comments

Comments
 (0)