[lld] r365310 - [lld] Use -o /dev/null in test when output is not needed.

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 04:14:10 PDT 2019


Author: sbc
Date: Mon Jul  8 04:14:10 2019
New Revision: 365310

URL: http://llvm.org/viewvc/llvm-project?rev=365310&view=rev
Log:
[lld] Use -o /dev/null in test when output is not needed.

Fix for feedback nit from rL364998

Modified:
    lld/trunk/test/ELF/archive-no-index.s

Modified: lld/trunk/test/ELF/archive-no-index.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/archive-no-index.s?rev=365310&r1=365309&r2=365310&view=diff
==============================================================================
--- lld/trunk/test/ELF/archive-no-index.s (original)
+++ lld/trunk/test/ELF/archive-no-index.s Mon Jul  8 04:14:10 2019
@@ -5,7 +5,7 @@
 # RUN: rm -f %t.a
 # RUN: llvm-ar crS %t.a %t.archive.o
 
-# RUN: not ld.lld -o out.wasm %t.o %t.a 2>&1 | FileCheck %s
+# RUN: not ld.lld -o /dev/null %t.o %t.a 2>&1 | FileCheck %s
 
 .globl _start
 _start:




More information about the llvm-commits mailing list