r201613 - Fix the Driver/cl-fallback.c test

Hans Wennborg hans at hanshq.net
Tue Feb 18 15:25:20 PST 2014


Author: hans
Date: Tue Feb 18 17:25:20 2014
New Revision: 201613

URL: http://llvm.org/viewvc/llvm-project?rev=201613&view=rev
Log:
Fix the Driver/cl-fallback.c test

On machines that have cl.exe on PATH, the note will print the full path.

Modified:
    cfe/trunk/test/Driver/cl-fallback.c

Modified: cfe/trunk/test/Driver/cl-fallback.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-fallback.c?rev=201613&r1=201612&r2=201613&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-fallback.c (original)
+++ cfe/trunk/test/Driver/cl-fallback.c Tue Feb 18 17:25:20 2014
@@ -47,6 +47,6 @@
 
 // RUN: not %clang_cl /fallback /c -- %s 2>&1 | \
 // RUN:     FileCheck -check-prefix=ErrNote %s
-// ErrNote: note: falling back to cl.exe
+// ErrNote: note: falling back to {{.*}}cl.exe
 
 #error "This fails to compile."





More information about the cfe-commits mailing list