summaryrefslogtreecommitdiffstats
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
commitc9998aa1f4d71bc71360fdc0eaf0a2f62f2d025e (patch)
tree52813849dcecfd8280f8c96139c5551ae0666cdc
parent7599b106b71ca13bcdc1d70671d6f3b18c795d1e (diff)
downloadbcm5719-llvm-c9998aa1f4d71bc71360fdc0eaf0a2f62f2d025e.tar.gz
bcm5719-llvm-c9998aa1f4d71bc71360fdc0eaf0a2f62f2d025e.zip
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. llvm-svn: 127729
-rw-r--r--clang/test/Driver/hello.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Driver/hello.c b/clang/test/Driver/hello.c
index 82bc6997bc7..c2260e53eb3 100644
--- a/clang/test/Driver/hello.c
+++ b/clang/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
OpenPOWER on IntegriCloud