r245607 - Fix test on Windows to accept both gcc and gcc.exe.

Yaron Keren via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 20 13:37:58 PDT 2015


Author: yrnkrn
Date: Thu Aug 20 15:37:58 2015
New Revision: 245607

URL: http://llvm.org/viewvc/llvm-project?rev=245607&view=rev
Log:
Fix test on Windows to accept both gcc and gcc.exe.


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

Modified: cfe/trunk/test/Driver/biarch.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/biarch.c?rev=245607&r1=245606&r2=245607&view=diff
==============================================================================
--- cfe/trunk/test/Driver/biarch.c (original)
+++ cfe/trunk/test/Driver/biarch.c Thu Aug 20 15:37:58 2015
@@ -29,7 +29,7 @@
 // RUN: grep '"-cc1" "-triple" "sparcv9--netbsd"' %t
 
 // RUN: %clang -target sparcel -o foo %s -### 2> %t
-// RUN: grep 'gcc" "-EL" "-o" "foo"' %t
+// RUN: grep 'gcc\(\.exe\)\?" "-EL" "-o" "foo"' %t
 
 // RUN: %clang -target mips64--netbsd -m32 %s -### 2> %t
 // RUN: grep '"-cc1" "-triple" "mips--netbsd"' %t




More information about the cfe-commits mailing list