Attempt to fix lld-x86_64-win7 bot.

The test is failing on the bot because "/subsystem:console" was
truncated for some reason. I don't know why that is happening on
that machine (it is not reproducible on my Windows machine).
In this patch, I'm trying to tame it by making the output shorter.

llvm-svn: 294502
This commit is contained in:
Rui Ueyama 2017-02-08 19:22:34 +00:00
parent 4ae0369b8e
commit 7a6f391451
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
; 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 || true
; RUN: /entry:main /verbose > %t.log || true
; RUN: FileCheck %s < %t.log
; CHECK: link.exe /nologo {{.*}} {{.*}}2.obj /out:{{.*}}.exe /opt:icf /entry:main /verbose /subsystem:console
; CHECK: link.exe /nologo {{.*}} {{.*}}2.obj /out:{{.*}}.exe /opt:icf /entry:main /verbose
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-windows-msvc"