[llvm] r357709 - [llvm-objcopy] [llvm-symbolizer] Fix failing tests
Don Hinton via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 10:35:41 PDT 2019
Author: dhinton
Date: Thu Apr 4 10:35:41 2019
New Revision: 357709
URL: http://llvm.org/viewvc/llvm-project?rev=357709&view=rev
Log:
[llvm-objcopy] [llvm-symbolizer] Fix failing tests
Summary: Fix failing tests that matched substrings in path.
Reviewers: evgeny777, mattd, espindola, alexshap, rupprecht, jhenderson
Reviewed By: jhenderson
Subscribers: Bulletmagnet, emaste, arichardson, jakehehrlich, MaskRay, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60170
Modified:
llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test
llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s
Modified: llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test?rev=357709&r1=357708&r2=357709&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test (original)
+++ llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test Thu Apr 4 10:35:41 2019
@@ -46,14 +46,20 @@ Symbols:
Value: 0x1010
Size: 8
-#REGEX1-NOT: foobaz
-#REGEX1-NOT: bar
-#REGEX1-NOT: rebar
+#REGEX1: Symbols [
+#REGEX1-NOT: Name: foobaz
+#REGEX1-NOT: Name: bar
+#REGEX1-NOT: Name: rebar
+#REGEX1: ]
-#REGEX2-NOT: foobaz
-#REGEX2: bar
-#REGEX2-NOT: rebar
+#REGEX2: Symbols [
+#REGEX2-NOT: Name: foobaz
+#REGEX2: Name: bar
+#REGEX2-NOT: Name: rebar
+#REGEX2: ]
-#REGEX3: foobaz
-#REGEX3: bar
-#REGEX3: rebar
+#REGEX3: Symbols [
+#REGEX3: Name: foobaz
+#REGEX3: Name: bar
+#REGEX3: Name: rebar
+#REGEX3: ]
Modified: llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s?rev=357709&r1=357708&r2=357709&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s (original)
+++ llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s Thu Apr 4 10:35:41 2019
@@ -1,6 +1,6 @@
# REQUIRES: x86-registered-target
# RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g
-# RUN: llvm-symbolizer --obj=%t.o 0 | FileCheck %s --implicit-check-not=bar
+# RUN: llvm-symbolizer --obj=%t.o 0 | FileCheck %s --implicit-check-not={{^}}bar{{$}}
# CHECK: foo
# CHECK-NEXT: ignore-undefined-symbols.s:12:0
More information about the llvm-commits
mailing list