summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid L. Jones <dlj@google.com>2019-02-09 05:00:50 +0000
committerDavid L. Jones <dlj@google.com>2019-02-09 05:00:50 +0000
commitc5cb2ce905cdf232348da103cc2e5751b14a45f7 (patch)
tree591429908ce43da5ed0a4571288967f5aa93d529
parent3ef9918d25d4cb9a96cd5ac579b4efca9afe32d5 (diff)
downloadbcm5719-llvm-c5cb2ce905cdf232348da103cc2e5751b14a45f7.tar.gz
bcm5719-llvm-c5cb2ce905cdf232348da103cc2e5751b14a45f7.zip
[LLD][ELF] Ensure tests use -o /dev/null instead of attempting to write to the bin directory. [NFC]
This error was introduced in r353508. llvm-svn: 353602
-rw-r--r--lld/test/ELF/archive-thin-missing-member.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/ELF/archive-thin-missing-member.s b/lld/test/ELF/archive-thin-missing-member.s
index 6ade1fc5022..d96fbc45415 100644
--- a/lld/test/ELF/archive-thin-missing-member.s
+++ b/lld/test/ELF/archive-thin-missing-member.s
@@ -8,15 +8,15 @@
# RUN: rm %t.o
# Test error when loading symbols from missing thin archive member.
-# RUN: not ld.lld %t-no-syms.a 2>&1 | FileCheck %s --check-prefix=ERR1
+# RUN: not ld.lld %t-no-syms.a -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR1
# ERR1: {{.*}}-no-syms.a: could not get the buffer for a child of the archive: '{{.*}}.o': {{[Nn]}}o such file or directory
# Test error when thin archive has symbol table but member is missing.
-# RUN: not ld.lld -m elf_amd64_fbsd %t-syms.a 2>&1 | FileCheck %s --check-prefix=ERR2
+# RUN: not ld.lld -m elf_amd64_fbsd %t-syms.a -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR2
# ERR2: {{.*}}-syms.a: could not get the buffer for the member defining symbol _start: '{{.*}}.o': {{[Nn]}}o such file or directory
# Test error when thin archive is linked using --whole-archive but member is missing.
-# RUN: not ld.lld --whole-archive %t-syms.a 2>&1 | FileCheck %s --check-prefix=ERR3
+# RUN: not ld.lld --whole-archive %t-syms.a -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR3
# ERR3: {{.*}}-syms.a: could not get the buffer for a child of the archive: '{{.*}}.o': {{[Nn]}}o such file or directory
.global _start
OpenPOWER on IntegriCloud