[llvm-commits] [llvm] r166217 - /llvm/trunk/test/lit.cfg

Sebastian Pop spop at codeaurora.org
Thu Oct 18 12:58:28 PDT 2012


Author: spop
Date: Thu Oct 18 14:58:28 2012
New Revision: 166217

URL: http://llvm.org/viewvc/llvm-project?rev=166217&view=rev
Log:
Use pre-python 2.5 syntax in lit.cfg.

Author:    Quentin Neill <qneill at codeaurora.org>

Modified:
    llvm/trunk/test/lit.cfg

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=166217&r1=166216&r2=166217&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Thu Oct 18 14:58:28 2012
@@ -152,7 +152,10 @@
 
 # Provide a substition for those tests that need to run the jit to obtain data
 # but simply want use the currently considered most reliable jit for platform
-defaultIsMCJIT='true' if 'arm' in config.target_triple else 'false'
+if 'arm' in config.target_triple:
+    defaultIsMCJIT = 'true'
+else:
+    defaultIsMCJIT = 'false'
 config.substitutions.append( ('%defaultjit', '-use-mcjit='+defaultIsMCJIT) )
 
 # Process jit implementation option





More information about the llvm-commits mailing list