From: Yaron Keren Date: Thu, 20 Aug 2015 20:37:58 +0000 (+0000) Subject: Fix test on Windows to accept both gcc and gcc.exe. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9677130fc24e325cb207ee402fe7dfae1cc718d3;p=clang Fix test on Windows to accept both gcc and gcc.exe. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245607 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/biarch.c b/test/Driver/biarch.c index 84208df3cb..18825f49c4 100644 --- a/test/Driver/biarch.c +++ b/test/Driver/biarch.c @@ -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