From: Eugene Leviant Date: Mon, 21 Nov 2016 13:57:50 +0000 (+0000) Subject: [ELF] Attempt to fix Windows buidbot X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91972d7f9d9ab4c4db34bc003df1064ae5805736;p=platform%2Fupstream%2Fllvm.git [ELF] Attempt to fix Windows buidbot llvm-svn: 287538 --- diff --git a/lld/test/ELF/Inputs/bad-archive.a b/lld/test/ELF/Inputs/bad-archive.a new file mode 100644 index 0000000..c9c6fbf --- /dev/null +++ b/lld/test/ELF/Inputs/bad-archive.a @@ -0,0 +1,2 @@ +! +this is malformed archive used in bad-archive.s diff --git a/lld/test/ELF/bad-archive.s b/lld/test/ELF/bad-archive.s index ed9567b..39c8e16 100644 --- a/lld/test/ELF/bad-archive.s +++ b/lld/test/ELF/bad-archive.s @@ -3,11 +3,9 @@ // Check bad archive error reporting with --whole-archive // and without it. // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o -// RUN: echo "!" > %t.bad.a -// RUN: echo "bad archive" >> %t.bad.a -// RUN: not ld.lld %t.o %t.bad.a -o %t 2>&1 | FileCheck %s -// RUN: not ld.lld %t.o --whole-archive %t.bad.a -o %t 2>&1 | FileCheck %s -// CHECK: {{.*}}.bad.a: failed to parse archive +// RUN: not ld.lld %t.o %p/Inputs/bad-archive.a -o %t 2>&1 | FileCheck %s +// RUN: not ld.lld %t.o --whole-archive %p/Inputs/bad-archive.a -o %t 2>&1 | FileCheck %s +// CHECK: bad-archive.a: failed to parse archive .globl _start _start: