aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrits van Bommel <fvbommel@gmail.com>2011-02-27 01:17:12 +0000
committerFrits van Bommel <fvbommel@gmail.com>2011-02-27 01:17:12 +0000
commitcf4ff469b193f6972cad1b6821ef99d51091e05a (patch)
tree0c314ce3b7344b7218f0ad60bd5781e3c5a07b69
parentb59c79f727cffcab3e86f27d381db9ff4d274f9e (diff)
Fix this test case for CMake builds after r126502, which sneakily changed the actual executable name to clang-<version>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126560 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Driver/hello.c b/test/Driver/hello.c
index da628724d6..82bc6997bc 100644
--- a/test/Driver/hello.c
+++ b/test/Driver/hello.c
@@ -1,7 +1,7 @@
// RUN: %clang -ccc-echo -o %t %s 2> %t.log
// Make sure we used clang.
-// RUN: grep 'clang" -cc1 .*hello.c' %t.log
+// RUN: grep 'clang\(-[0-9.]\+\)\?" -cc1 .*hello.c' %t.log
// RUN: %t > %t.out
// RUN: grep "I'm a little driver, short and stout." %t.out