1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Honour --config-prefix also for lit.local.cfg.

llvm-svn: 151977
This commit is contained in:
Duncan Sands 2012-03-03 13:30:56 +00:00
parent 62ed4767ac
commit ce079960e5

View File

@ -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