示例#1
0
文件: __main__.py 项目: pmp-p/pygame
else:
    kwds["usesubprocess"] = False
if options.dump:
    kwds["dump"] = True
if options.file:
    kwds["file"] = options.file
if options.exclude:
    kwds["exclude"] = options.exclude
if options.unbuffered:
    kwds["unbuffered"] = True
if options.randomize:
    kwds["randomize"] = True
if options.seed is not None:
    kwds["seed"] = options.seed
if options.multi_thread is not None:
    kwds["multi_thread"] = options.multi_thread
if options.time_out is not None:
    kwds["time_out"] = options.time_out
if options.fake:
    kwds["fake"] = options.fake
if options.python:
    kwds["python"] = options.python
if options.interactive:
    kwds["interactive"] = True
kwds["verbosity"] = options.verbosity if options.verbosity is not None else 1


###########################################################################
# Run the test suite.
run_and_exit(*args, **kwds)
示例#2
0
    kwds['dump'] = True
if options.file:
    kwds['file'] = options.file
kwds['timings'] = options.timings
if options.exclude:
    kwds['exclude'] = options.exclude
if options.show_output:
    kwds['show_output'] = True
if options.all:
    kwds['all'] = True
if options.randomize:
    kwds['randomize'] = True
if options.seed is not None:
    kwds['seed'] = options.seed
if options.multi_thread is not None:
    kwds['multi_thread'] = options.multi_thread
if options.time_out is not None:
    kwds['time_out'] = options.time_out
if options.fake:
    kwds['fake'] = options.fake
if options.python:
    kwds['python'] = options.python
if options.interactive:
    kwds['interactive'] = True

###########################################################################
# Run the test suite.
run_and_exit(*args, **kwds)