X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Flit.cfg;h=98f72092e3121d71037e6a5ace6d1f3e24739a7e;hb=1cd05bb605e3c3eee9197d3f10b628c60d0cc07a;hp=63b00325f3ee32d0c9f64cfe18c31f277e81ebca;hpb=38d439fb13ae465d53767c1c912abf40e64d6ee4;p=oota-llvm.git diff --git a/test/lit.cfg b/test/lit.cfg index 63b00325f3e..98f72092e31 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -58,6 +58,13 @@ if 'INCLUDE' in os.environ: if 'LIB' in os.environ: config.environment['LIB'] = os.environ['LIB'] +# Propagate the temp directory. Windows requires this because it uses \Windows\ +# if none of these are present. +if 'TMP' in os.environ: + config.environment['TMP'] = os.environ['TMP'] +if 'TEMP' in os.environ: + config.environment['TEMP'] = os.environ['TEMP'] + # Propagate LLVM_SRC_ROOT into the environment. config.environment['LLVM_SRC_ROOT'] = getattr(config, 'llvm_src_root', '') @@ -219,6 +226,10 @@ config.on_clone = on_clone ### Features +# Shell execution +if sys.platform not in ['win32']: + config.available_features.add('shell') + # Loadable module # FIXME: This should be supplied by Makefile or autoconf. if sys.platform in ['win32', 'cygwin']: