Fix tests added in r331924 so that they work on Windows.
authorDouglas Yung <douglas.yung@sony.com>
Thu, 10 May 2018 03:06:42 +0000 (03:06 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Thu, 10 May 2018 03:06:42 +0000 (03:06 +0000)
The test needed to check for the optional executable extension (llvm-objcopy.EXE).

llvm-svn: 331952

llvm/test/tools/llvm-objcopy/strip-group-symbol.test
llvm/test/tools/llvm-objcopy/strip-reloc-symbol.test

index f14b9a3..32ef61f 100644 (file)
@@ -28,4 +28,4 @@ Symbols:
       Type:            STT_FUNC
       Section:         .text
 
-#CHECK: {{.*}}llvm-objcopy: Symbol foo cannot be removed because it is referenced by the section .group[1].
+#CHECK: {{.*}}llvm-objcopy{{(\.EXE|\.exe)?}}: Symbol foo cannot be removed because it is referenced by the section .group[1].
index 883d281..0bf4db3 100644 (file)
@@ -29,4 +29,4 @@ Symbols:
       Value:    0x1000
       Size:     8
 
-#CHECK: {{.*}}llvm-objcopy: not stripping symbol `foo' because it is named in a relocation.
+#CHECK: {{.*}}llvm-objcopy{{(\.EXE|\.exe)?}}: not stripping symbol `foo' because it is named in a relocation.