Fix a thinko in the lit.cfg.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 23 Feb 2010 09:28:48 +0000 (09:28 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 23 Feb 2010 09:28:48 +0000 (09:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96931 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 0894d9b38aea113b080ca8d2827903de89ca1d89..ec9fff16c289e3fa5c16fbb802ca13bb41f45487 100644 (file)
@@ -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'),