From 4d85942a1b2a06ef74124d2dc31cd6d783775a86 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 16 Mar 2011 13:51:46 +0000 Subject: [PATCH] test/Driver/hello.c: Tweak for cygming. - Driver's name may be "clang(-\d.\d).exe". - Emitted executable file is named as "%t.exe". It must be harmless on other OS. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127729 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/hello.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Driver/hello.c b/test/Driver/hello.c index 82bc6997bc..c2260e53eb 100644 --- a/test/Driver/hello.c +++ b/test/Driver/hello.c @@ -1,9 +1,9 @@ -// RUN: %clang -ccc-echo -o %t %s 2> %t.log +// RUN: %clang -ccc-echo -o %t.exe %s 2> %t.log // Make sure we used clang. -// RUN: grep 'clang\(-[0-9.]\+\)\?" -cc1 .*hello.c' %t.log +// RUN: grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c' %t.log -// RUN: %t > %t.out +// RUN: %t.exe > %t.out // RUN: grep "I'm a little driver, short and stout." %t.out // FIXME: We don't have a usable assembler on Windows, so we can't build real -- 2.40.0