[cfe-commits] r126560 - /cfe/trunk/test/Driver/hello.c

Frits van Bommel fvbommel at gmail.com
Sat Feb 26 17:17:12 PST 2011


Author: fvbommel
Date: Sat Feb 26 19:17:12 2011
New Revision: 126560

URL: http://llvm.org/viewvc/llvm-project?rev=126560&view=rev
Log:
Fix this test case for CMake builds after r126502, which sneakily  changed the actual executable name to clang-<version>.

Modified:
    cfe/trunk/test/Driver/hello.c

Modified: cfe/trunk/test/Driver/hello.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/hello.c?rev=126560&r1=126559&r2=126560&view=diff
==============================================================================
--- cfe/trunk/test/Driver/hello.c (original)
+++ cfe/trunk/test/Driver/hello.c Sat Feb 26 19:17:12 2011
@@ -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





More information about the cfe-commits mailing list