From: Daniel Dunbar Date: Tue, 23 Feb 2010 09:28:48 +0000 (+0000) Subject: Fix a thinko in the lit.cfg. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a04942b196e49fb7b486d026a8ce811d74374bb3;p=oota-llvm.git Fix a thinko in the lit.cfg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96931 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index 0894d9b38ae..ec9fff16c28 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -40,7 +40,7 @@ if llvm_obj_root is not None: config.environment['PATH'] = path llvmgcc_dir = getattr(config, 'llvmgcc_dir', None) - if not llvm_tools_dir: + if not llvmgcc_dir: lit.fatal('No llvm-gcc dir set!') if llvmgcc_dir: path = os.path.pathsep.join((os.path.join(llvmgcc_dir, 'bin'),