From 92c39cadbc04ab7318f2a67d444e38b63ad33a57 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Thu, 18 Oct 2012 19:58:28 +0000 Subject: 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 --- test/lit.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/lit.cfg') 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 -- cgit v1.2.3-18-g5258