aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-03-16 13:51:46 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-03-16 13:51:46 +0000
commit4d85942a1b2a06ef74124d2dc31cd6d783775a86 (patch)
tree95e56bf2a71d1b43c4172f9eec2a01fa81826a06
parent432c478fe0fec3946610d5dc7905daf5fbadf47b (diff)
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
-rw-r--r--test/Driver/hello.c6
1 files 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