OSDN Git Service

Use pre-python 2.5 syntax in lit.cfg.
authorSebastian Pop <spop@codeaurora.org>
Thu, 18 Oct 2012 19:58:28 +0000 (19:58 +0000)
committerSebastian Pop <spop@codeaurora.org>
Thu, 18 Oct 2012 19:58:28 +0000 (19:58 +0000)
Author:    Quentin Neill <qneill@codeaurora.org>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166217 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index dc37317..f24a854 100644 (file)
@@ -152,7 +152,10 @@ config.target_triple += lit.valgrindTriple
 
 # 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