removed support for multiple interpreters
This commit is contained in:
parent
2739e4ce18
commit
ebe59a7b6e
3
run.py
3
run.py
@ -257,7 +257,6 @@ def unittest_testrun(ut_folder, options):
|
|||||||
#
|
#
|
||||||
execution_level = report.TCEL_REVERSE_NAMED.get(options.execution_level, report.TCEL_FULL)
|
execution_level = report.TCEL_REVERSE_NAMED.get(options.execution_level, report.TCEL_FULL)
|
||||||
#
|
#
|
||||||
if sys.version_info.major in config.lib.__INTERPRETER__:
|
|
||||||
output.print_header("Running \"%s\" Unittest with %s" % (options.execution_level, interpreter_version))
|
output.print_header("Running \"%s\" Unittest with %s" % (options.execution_level, interpreter_version))
|
||||||
with open(testresults_filename(ut_folder, FN_DATA_COLLECTION), 'r') as fh:
|
with open(testresults_filename(ut_folder, FN_DATA_COLLECTION), 'r') as fh:
|
||||||
data_collection = json.loads(fh.read())
|
data_collection = json.loads(fh.read())
|
||||||
@ -278,8 +277,6 @@ def unittest_testrun(ut_folder, options):
|
|||||||
data_collection[jsonlog.MAIN_KEY_TESTRUNS].append(test_session)
|
data_collection[jsonlog.MAIN_KEY_TESTRUNS].append(test_session)
|
||||||
with open(testresults_filename(ut_folder, FN_DATA_COLLECTION), 'w') as fh:
|
with open(testresults_filename(ut_folder, FN_DATA_COLLECTION), 'w') as fh:
|
||||||
fh.write(json.dumps(data_collection, indent=4, sort_keys=True))
|
fh.write(json.dumps(data_collection, indent=4, sort_keys=True))
|
||||||
else:
|
|
||||||
output.print_header("Library does not support %s." % interpreter_version)
|
|
||||||
|
|
||||||
|
|
||||||
def unittest_finalise(ut_folder):
|
def unittest_finalise(ut_folder):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user