summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2016-11-21 13:57:50 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2016-11-21 13:57:50 +0000
commit91972d7f9d9ab4c4db34bc003df1064ae5805736 (patch)
tree46492d423c52721e49fd5090b4c3c273d9e21481
parente8785ba4d7fab0c537d381a1438dd82cb093d514 (diff)
downloadbcm5719-llvm-91972d7f9d9ab4c4db34bc003df1064ae5805736.tar.gz
bcm5719-llvm-91972d7f9d9ab4c4db34bc003df1064ae5805736.zip
[ELF] Attempt to fix Windows buidbot
llvm-svn: 287538
-rw-r--r--lld/test/ELF/Inputs/bad-archive.a2
-rw-r--r--lld/test/ELF/bad-archive.s8
2 files changed, 5 insertions, 5 deletions
diff --git a/lld/test/ELF/Inputs/bad-archive.a b/lld/test/ELF/Inputs/bad-archive.a
new file mode 100644
index 00000000000..c9c6fbfd914
--- /dev/null
+++ b/lld/test/ELF/Inputs/bad-archive.a
@@ -0,0 +1,2 @@
+!<arch>
+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 ed9567b2b23..39c8e160f95 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 "!<arch>" > %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:
OpenPOWER on IntegriCloud