[lld] Use -o /dev/null in test when output is not needed.
authorSam Clegg <sbc@chromium.org>
Wed, 3 Jul 2019 02:41:00 +0000 (02:41 +0000)
committerSam Clegg <sbc@chromium.org>
Wed, 3 Jul 2019 02:41:00 +0000 (02:41 +0000)
Feedback nit from rL364998

llvm-svn: 364999

lld/test/ELF/archive-no-index.s

index adaeaf9..fe1ba04 100644 (file)
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 # Tests error on archive file without a symbol table
 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t.o %s
-# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t.archive.o %S/Inputs/archive.s
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o /dev/null %S/Inputs/archive.s
 # RUN: rm -f %t.a
 # RUN: llvm-ar crS %t.a %t.archive.o