r224421 - Teach lit.cfg to recognize -windows-gnu in addition to -mingw32.

Yaron Keren yaron.keren at gmail.com
Wed Dec 17 01:55:16 PST 2014


Author: yrnkrn
Date: Wed Dec 17 03:55:15 2014
New Revision: 224421

URL: http://llvm.org/viewvc/llvm-project?rev=224421&view=rev
Log:
Teach lit.cfg to recognize -windows-gnu in addition to -mingw32.


Modified:
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=224421&r1=224420&r2=224421&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Wed Dec 17 03:55:15 2014
@@ -404,11 +404,11 @@ if not re.match(r'.*-win32$', config.tar
     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





More information about the cfe-commits mailing list