Fix tests added in r331924 so that they work on Windows.

The test needed to check for the optional executable extension (llvm-objcopy.EXE).

llvm-svn: 331952
This commit is contained in:
Douglas Yung 2018-05-10 03:06:42 +00:00
parent d790effacb
commit 1d4c29c437
2 changed files with 2 additions and 2 deletions

View 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].

View 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.