[lld] r328863 - Simplify test more.
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 30 06:48:11 PDT 2018
Author: nico
Date: Fri Mar 30 06:48:11 2018
New Revision: 328863
URL: http://llvm.org/viewvc/llvm-project?rev=328863&view=rev
Log:
Simplify test more.
Modified:
lld/trunk/test/COFF/opt.test
Modified: lld/trunk/test/COFF/opt.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/opt.test?rev=328863&r1=328862&r2=328863&view=diff
==============================================================================
--- lld/trunk/test/COFF/opt.test (original)
+++ lld/trunk/test/COFF/opt.test Fri Mar 30 06:48:11 2018
@@ -1,12 +1,10 @@
# RUN: yaml2obj < %s > %t.obj
# RUN: lld-link /out:%t.exe /entry:main %t.obj \
-# RUN: /verbose >& %t.log
-# RUN: FileCheck -check-prefix=CHECK1 %s < %t.log
+# RUN: /verbose 2>&1 | FileCheck -check-prefix=CHECK1 %s
# RUN: lld-link /out:%t.exe /entry:main %t.obj \
-# RUN: /verbose /opt:noref >& %t.log
-# RUN: FileCheck -check-prefix=CHECK2 %s < %t.log
+# RUN: /verbose /opt:noref 2>&1 | FileCheck -check-prefix=CHECK2 %s
# CHECK1: Discarded unused
# CHECK2-NOT: Discarded unused
More information about the llvm-commits
mailing list