[llvm] r374404 - Fix test to avoid check-not matching the temp file absolute path
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 11:01:27 PDT 2019
Author: rnk
Date: Thu Oct 10 11:01:27 2019
New Revision: 374404
URL: http://llvm.org/viewvc/llvm-project?rev=374404&view=rev
Log:
Fix test to avoid check-not matching the temp file absolute path
Fix for PR43636
Modified:
llvm/trunk/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test
Modified: llvm/trunk/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test?rev=374404&r1=374403&r2=374404&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test Thu Oct 10 11:01:27 2019
@@ -6,6 +6,9 @@
# RUN: --implicit-check-not=absolute \
# RUN: --implicit-check-not=other
+# Match this line so the implicit check-nots don't match the path.
+# CHECK: {{^.*}}file format ELF64-x86-64
+
# CHECK: 0000000000004000 first:
# CHECK: 0000000000004001 second:
# CHECK: 0000000000004002 third:
More information about the llvm-commits
mailing list