]> granicus.if.org Git - clang/commitdiff
Fix test on Windows to accept both gcc and gcc.exe.
authorYaron Keren <yaron.keren@gmail.com>
Thu, 20 Aug 2015 20:37:58 +0000 (20:37 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Thu, 20 Aug 2015 20:37:58 +0000 (20:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245607 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/biarch.c

index 84208df3cbaf6a8d9aac056a3f02e89ddb5215b2..18825f49c440d6e28604ed005bb36c5e5f7bc3a1 100644 (file)
@@ -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