From: Sebastian Pop Date: Thu, 18 Oct 2012 19:58:28 +0000 (+0000) Subject: Use pre-python 2.5 syntax in lit.cfg. X-Git-Tag: android-x86-6.0-r1~179^2~2346 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=92c39cadbc04ab7318f2a67d444e38b63ad33a57;p=android-x86%2Fexternal-llvm.git Use pre-python 2.5 syntax in lit.cfg. Author: Quentin Neill git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166217 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index dc37317ba95..f24a854dc7a 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