[llvm-commits] [llvm] r151977 - /llvm/trunk/utils/lit/lit/main.py
Duncan Sands
baldrick at free.fr
Sat Mar 3 05:30:57 PST 2012
Author: baldrick
Date: Sat Mar 3 07:30:56 2012
New Revision: 151977
URL: http://llvm.org/viewvc/llvm-project?rev=151977&view=rev
Log:
Honour --config-prefix also for lit.local.cfg.
Modified:
llvm/trunk/utils/lit/lit/main.py
Modified: llvm/trunk/utils/lit/lit/main.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/main.py?rev=151977&r1=151976&r2=151977&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/main.py (original)
+++ llvm/trunk/utils/lit/lit/main.py Sat Mar 3 07:30:56 2012
@@ -456,9 +456,10 @@
parser.error('No inputs specified')
if opts.configPrefix is not None:
- global gConfigName, gSiteConfigName
+ global gConfigName, gSiteConfigName, kLocalConfigName
gConfigName = '%s.cfg' % opts.configPrefix
gSiteConfigName = '%s.site.cfg' % opts.configPrefix
+ kLocalConfigName = '%s.local.cfg' % opts.configPrefix
if opts.numThreads is None:
# Python <2.5 has a race condition causing lit to always fail with numThreads>1
More information about the llvm-commits
mailing list