]> granicus.if.org Git - clang/commitdiff
Fix this test case for CMake builds after r126502, which sneakily changed the actual...
authorFrits van Bommel <fvbommel@gmail.com>
Sun, 27 Feb 2011 01:17:12 +0000 (01:17 +0000)
committerFrits van Bommel <fvbommel@gmail.com>
Sun, 27 Feb 2011 01:17:12 +0000 (01:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126560 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/hello.c

index da628724d6d947bb6abe9e574050db0f0fed362e..82bc6997bc722935a024173db43633bce93dc926 100644 (file)
@@ -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