From: Martin Storsjö Date: Fri, 18 Jun 2021 12:20:13 +0000 (+0300) Subject: [LLD] [MinGW] Silence the printouts in one test. NFC. X-Git-Tag: llvmorg-14-init~3261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1a18fb6993bcc7d646753c70faa0444abb8cc5c;p=platform%2Fupstream%2Fllvm.git [LLD] [MinGW] Silence the printouts in one test. NFC. This particular linker invocation is only run to check that we accept options, but we don't inspect the generated command line. As all other commands in the file have their output piped to FileCheck, the lit test doesn't print any other output; therefore silence this one for consistency as well. --- diff --git a/lld/test/MinGW/driver.test b/lld/test/MinGW/driver.test index 24a4207..cb164df 100644 --- a/lld/test/MinGW/driver.test +++ b/lld/test/MinGW/driver.test @@ -181,7 +181,7 @@ RUN: ld.lld -### -m i386pep foo.o --icf=all 2>&1 | FileCheck -check-prefix ICF % RUN: ld.lld -### -m i386pep foo.o -icf=all 2>&1 | FileCheck -check-prefix ICF %s ICF: -opt:icf -RUN: ld.lld -### -m i386pep --start-group foo.o --end-group +RUN: ld.lld -### -m i386pep --start-group foo.o --end-group 2> /dev/null RUN: ld.lld -### foo.o -m i386pe -shared --kill-at 2>&1 | FileCheck -check-prefix=KILL-AT %s RUN: ld.lld -### foo.o -m i386pe -shared -kill-at 2>&1 | FileCheck -check-prefix=KILL-AT %s