From c8e7c98b66051cc0a93f4efaa3410da3db059d31 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 20 Sep 2016 17:02:38 +0000 Subject: [PATCH] Redirect stderr to /dev/null. NFC. Makes the error output less confusing when this test fails. llvm-svn: 281985 --- lld/test/ELF/linkerscript/linkerscript.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lld/test/ELF/linkerscript/linkerscript.s b/lld/test/ELF/linkerscript/linkerscript.s index 4ee7416..29e5428 100644 --- a/lld/test/ELF/linkerscript/linkerscript.s +++ b/lld/test/ELF/linkerscript/linkerscript.s @@ -25,29 +25,29 @@ # RUN: llvm-readobj %t2 > /dev/null # RUN: echo "GROUP(\"%t\" libxyz.a )" > %t.script -# RUN: not ld.lld -o %t2 %t.script +# RUN: not ld.lld -o %t2 %t.script 2>/dev/null # RUN: ld.lld -o %t2 %t.script -L%t.dir # RUN: llvm-readobj %t2 > /dev/null # RUN: echo "GROUP(\"%t\" =libxyz.a )" > %t.script -# RUN: not ld.lld -o %t2 %t.script +# RUN: not ld.lld -o %t2 %t.script 2>/dev/null # RUN: ld.lld -o %t2 %t.script --sysroot=%t.dir # RUN: llvm-readobj %t2 > /dev/null # RUN: echo "GROUP(\"%t\" -lxyz )" > %t.script -# RUN: not ld.lld -o %t2 %t.script +# RUN: not ld.lld -o %t2 %t.script 2>/dev/null # RUN: ld.lld -o %t2 %t.script -L%t.dir # RUN: llvm-readobj %t2 > /dev/null # RUN: echo "GROUP(\"%t\" libxyz.a )" > %t.script -# RUN: not ld.lld -o %t2 %t.script +# RUN: not ld.lld -o %t2 %t.script 2>/dev/null # RUN: ld.lld -o %t2 %t.script -L%t.dir # RUN: llvm-readobj %t2 > /dev/null # RUN: echo "GROUP(\"%t\" /libxyz.a )" > %t.script # RUN: echo "GROUP(\"%t\" /libxyz.a )" > %t.dir/xyz.script -# RUN: not ld.lld -o %t2 %t.script -# RUN: not ld.lld -o %t2 %t.script --sysroot=%t.dir +# RUN: not ld.lld -o %t2 %t.script 2>/dev/null +# RUN: not ld.lld -o %t2 %t.script --sysroot=%t.dir 2>/dev/null # RUN: ld.lld -o %t2 %t.dir/xyz.script --sysroot=%t.dir # RUN: llvm-readobj %t2 > /dev/null -- 2.7.4