mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-06-30 23:30:28 +00:00
lit: Allow clients to define predefined parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3837014d6
commit
6647033565
|
@ -358,8 +358,7 @@ def load_test_suite(inputs):
|
||||||
from LitTestCase import LitTestCase
|
from LitTestCase import LitTestCase
|
||||||
return unittest.TestSuite([LitTestCase(test, litConfig) for test in tests])
|
return unittest.TestSuite([LitTestCase(test, litConfig) for test in tests])
|
||||||
|
|
||||||
def main():
|
def main(builtinParameters = {}): # Bump the GIL check interval, its more important to get any one thread to a
|
||||||
# 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.
|
# blocking operation (hopefully exec) than to try and unblock other threads.
|
||||||
#
|
#
|
||||||
# FIXME: This is a hack.
|
# FIXME: This is a hack.
|
||||||
|
@ -469,7 +468,7 @@ def main():
|
||||||
inputs = args
|
inputs = args
|
||||||
|
|
||||||
# Create the user defined parameters.
|
# Create the user defined parameters.
|
||||||
userParams = {}
|
userParams = dict(builtinParameters)
|
||||||
for entry in opts.userParameters:
|
for entry in opts.userParameters:
|
||||||
if '=' not in entry:
|
if '=' not in entry:
|
||||||
name,val = entry,''
|
name,val = entry,''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user