From 5ea696942211abffd31ccd14c6298c8e0741f146 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Thu, 18 Oct 2012 19:58:28 +0000 Subject: [PATCH] Use pre-python 2.5 syntax in lit.cfg. Author: Quentin Neill llvm-svn: 166217 --- llvm/test/lit.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index dc37317ba95a..f24a854dc7a9 100644 --- a/llvm/test/lit.cfg +++ b/llvm/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