mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
lit: Allow clients to define predefined parameters.
llvm-svn: 109999
This commit is contained in:
parent
40cb7d9994
commit
e7c9b43aae
@ -358,8 +358,7 @@ def load_test_suite(inputs):
|
||||
from LitTestCase import LitTestCase
|
||||
return unittest.TestSuite([LitTestCase(test, litConfig) for test in tests])
|
||||
|
||||
def main():
|
||||
# Bump the GIL check interval, its more important to get any one thread to a
|
||||
def main(builtinParameters = {}): # Bump the GIL check interval, its more important to get any one thread to a
|
||||
# blocking operation (hopefully exec) than to try and unblock other threads.
|
||||
#
|
||||
# FIXME: This is a hack.
|
||||
@ -469,7 +468,7 @@ def main():
|
||||
inputs = args
|
||||
|
||||
# Create the user defined parameters.
|
||||
userParams = {}
|
||||
userParams = dict(builtinParameters)
|
||||
for entry in opts.userParameters:
|
||||
if '=' not in entry:
|
||||
name,val = entry,''
|
||||
|
Loading…
Reference in New Issue
Block a user