]> granicus.if.org Git - clang/commitdiff
Fix the Driver/cl-fallback.c test
authorHans Wennborg <hans@hanshq.net>
Tue, 18 Feb 2014 23:25:20 +0000 (23:25 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 18 Feb 2014 23:25:20 +0000 (23:25 +0000)
On machines that have cl.exe on PATH, the note will print the full path.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201613 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cl-fallback.c

index f58aa3262fe24be12bb9ebd10587537362f2f32b..2e59ccdbbaad1a8b8c6fb3c34c29e4691ff95658 100644 (file)
@@ -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."