[clang-tools-extra] r313290 - Fix refactoring missed in previous commit r313270 which resulted in an undefined variable being used.

Douglas Yung via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 12:51:26 PDT 2017


Author: dyung
Date: Thu Sep 14 12:51:26 2017
New Revision: 313290

URL: http://llvm.org/viewvc/llvm-project?rev=313290&view=rev
Log:
Fix refactoring missed in previous commit r313270 which resulted in an undefined variable being used.

Modified:
    clang-tools-extra/trunk/test/Unit/lit.cfg

Modified: clang-tools-extra/trunk/test/Unit/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/Unit/lit.cfg?rev=313290&r1=313289&r2=313290&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/Unit/lit.cfg (original)
+++ clang-tools-extra/trunk/test/Unit/lit.cfg Thu Sep 14 12:51:26 2017
@@ -32,7 +32,7 @@ shlibpath = os.path.pathsep.join((config
                                  config.environment.get(shlibpath_var,'')))
 
 # Win32 seeks DLLs along %PATH%.
-if sys.platform in ['win32', 'cygwin'] and os.path.isdir(shlibdir):
+if sys.platform in ['win32', 'cygwin'] and os.path.isdir(config.shlibdir):
     shlibpath = os.path.pathsep.join((config.shlibdir, shlibpath))
 
 config.environment[shlibpath_var] = shlibpath




More information about the cfe-commits mailing list