r227894 - clang lit.cfg: Fix a bug pointed by Sean Silva

Filipe Cabecinhas me at filcab.net
Mon Feb 2 15:17:55 PST 2015


Author: filcab
Date: Mon Feb  2 17:17:54 2015
New Revision: 227894

URL: http://llvm.org/viewvc/llvm-project?rev=227894&view=rev
Log:
clang lit.cfg: Fix a bug pointed by Sean Silva

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=227894&r1=227893&r2=227894&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Mon Feb  2 17:17:54 2015
@@ -405,7 +405,7 @@ if not re.match(r'.*-win32$', config.tar
     config.available_features.add('non-ms-sdk')
 
 # Not set on native PS4 environment.
-if '*-scei-ps4' != config.target_triple:
+if not re.match(r'.*-scei-ps4', config.target_triple):
     config.available_features.add('non-ps4-sdk')
 
 # [PR8833] LLP64-incompatible tests





More information about the cfe-commits mailing list