]> granicus.if.org Git - clang/commitdiff
Teach lit.cfg to recognize -windows-gnu in addition to -mingw32.
authorYaron Keren <yaron.keren@gmail.com>
Wed, 17 Dec 2014 09:55:15 +0000 (09:55 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Wed, 17 Dec 2014 09:55:15 +0000 (09:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224421 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 4567f179f8167f0229e5a38ba49bf6f8a7b6a280..70353c61958968b65756ce8d8c8a76bdc637c2ce 100644 (file)
@@ -404,11 +404,11 @@ if not re.match(r'.*-win32$', config.target_triple):
     config.available_features.add('non-ms-sdk')
 
 # [PR8833] LLP64-incompatible tests
-if not re.match(r'^x86_64.*-(win32|mingw32)$', config.target_triple):
+if not re.match(r'^x86_64.*-(win32|mingw32|windows-gnu)$', config.target_triple):
     config.available_features.add('LP64')
 
 # [PR12920] "clang-driver" -- set if gcc driver is not used.
-if not re.match(r'.*-(cygwin|mingw32)$', config.target_triple):
+if not re.match(r'.*-(cygwin|mingw32|windows-gnu)$', config.target_triple):
     config.available_features.add('clang-driver')
 
 # [PR18856] Depends to remove opened file. On win32, a file could be removed