]> granicus.if.org Git - llvm/commitdiff
fix accidental implicit matches in elf-disassemble-symbol-labels-rel.test
authorBob Haarman <llvm@inglorion.net>
Thu, 23 May 2019 22:28:18 +0000 (22:28 +0000)
committerBob Haarman <llvm@inglorion.net>
Thu, 23 May 2019 22:28:18 +0000 (22:28 +0000)
llvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test
uses --implicit-check-not to verify that certain patterns do not occur
in llvm-objdump's output, except in places where they are explicitly
checked. Unfortunately, the patterns are generic enough that they may
be part of the file name which is also output by llvm-objdump. This
change matches the line with the filename explicitly so that the
implicit patterns are not applied to it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361563 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test

index d2377f44621f4d85da9aade3a28f8d2ce47dace1..189803cbc09684ab963037624b60e779adbbd001 100644 (file)
@@ -9,6 +9,7 @@
 # RUN:                                   --implicit-check-not=absolute \
 # RUN:                                   --implicit-check-not=other
 
+# CHECK: {{.*}}: file format {{.*}}
 # CHECK: Disassembly of section .text:
 # CHECK: 0000000000000000 first:
 # CHECK: 0000000000000001 second: