[lld] r294238 - Attempt to fix a flakey test.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 13:11:33 PST 2017


Author: ruiu
Date: Mon Feb  6 15:11:33 2017
New Revision: 294238

URL: http://llvm.org/viewvc/llvm-project?rev=294238&view=rev
Log:
Attempt to fix a flakey test.

I believe that the test is flakey because the order of stdout
and stderr is not deterministic.

Modified:
    lld/trunk/test/COFF/msvclto.ll

Modified: lld/trunk/test/COFF/msvclto.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/msvclto.ll?rev=294238&r1=294237&r2=294238&view=diff
==============================================================================
--- lld/trunk/test/COFF/msvclto.ll (original)
+++ lld/trunk/test/COFF/msvclto.ll Mon Feb  6 15:11:33 2017
@@ -1,7 +1,7 @@
 ; RUN: llvm-as -o %t1.obj %s
 ; RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t2.obj %p/Inputs/msvclto.s
 ; RUN: lld-link %t1.obj %t2.obj /msvclto /out:%t.exe /opt:lldlto=1 /opt:icf \
-; RUN:   /entry:main /verbose /subsystem:console > %t.log 2>&1 || true
+; RUN:   /entry:main /verbose /subsystem:console > %t.log || true
 ; RUN: FileCheck %s < %t.log
 
 ; CHECK: link.exe /nologo {{.*}} {{.*}}2.obj /out:{{.*}}.exe /opt:icf /entry:main /verbose /subsystem:console




More information about the llvm-commits mailing list