aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-06-18 15:20:13 +0300
committerMartin Storsjö <martin@martin.st>2021-06-23 10:44:01 +0300
commitf1a18fb6993bcc7d646753c70faa0444abb8cc5c (patch)
treecae05e1b8ce14fe6c5217b9ead71085c7d224a2e
parent011b502ce850f423991c97356f566548372c50ca (diff)
downloadllvm-f1a18fb6993bcc7d646753c70faa0444abb8cc5c.zip
llvm-f1a18fb6993bcc7d646753c70faa0444abb8cc5c.tar.gz
llvm-f1a18fb6993bcc7d646753c70faa0444abb8cc5c.tar.bz2
[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.
-rw-r--r--lld/test/MinGW/driver.test2
1 files changed, 1 insertions, 1 deletions
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