Skip to content

Commit

Permalink
Honour --config-prefix also for lit.local.cfg.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151977 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
CunningBaldrick committed Mar 3, 2012
1 parent 5fa6f5b commit 6131873
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/lit/lit/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,10 @@ def main(builtinParameters = {}): # Bump the GIL check interval, its more imp
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
Expand Down

0 comments on commit 6131873

Please sign in to comment.