[cfe-commits] r127729 - /cfe/trunk/test/Driver/hello.c

NAKAMURA Takumi geek4civic at gmail.com
Wed Mar 16 06:51:46 PDT 2011


Author: chapuni
Date: Wed Mar 16 08:51:46 2011
New Revision: 127729

URL: http://llvm.org/viewvc/llvm-project?rev=127729&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Driver/hello.c

Modified: cfe/trunk/test/Driver/hello.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/hello.c?rev=127729&r1=127728&r2=127729&view=diff
==============================================================================
--- cfe/trunk/test/Driver/hello.c (original)
+++ cfe/trunk/test/Driver/hello.c Wed Mar 16 08:51:46 2011
@@ -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





More information about the cfe-commits mailing list