From cf4ff469b193f6972cad1b6821ef99d51091e05a Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Sun, 27 Feb 2011 01:17:12 +0000 Subject: [PATCH] Fix this test case for CMake builds after r126502, which sneakily changed the actual executable name to clang-. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126560 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/hello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1