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