aboutsummaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-10-18 19:58:28 +0000
committerSebastian Pop <spop@codeaurora.org>2012-10-18 19:58:28 +0000
commit92c39cadbc04ab7318f2a67d444e38b63ad33a57 (patch)
tree913f0734d78357c51dc0e5d23a4ead38c5e9b59c /test/lit.cfg
parent83ba06afa8503dc97a0aa5ec033022286959956c (diff)
Use pre-python 2.5 syntax in lit.cfg.
Author: Quentin Neill <qneill@codeaurora.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index dc37317ba9..f24a854dc7 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -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