Changeset View
Changeset View
Standalone View
Standalone View
test/functional/test_runner.py
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | TEST_PARAMS = { | ||||
# When a test is listed here, the it will be run without parameters | # When a test is listed here, the it will be run without parameters | ||||
# as well as with additional parameters listed here. | # as well as with additional parameters listed here. | ||||
# This: | # This: | ||||
# example "testName" : [["--param1", "--param2"] , ["--param3"]] | # example "testName" : [["--param1", "--param2"] , ["--param3"]] | ||||
# will run the test 3 times: | # will run the test 3 times: | ||||
# testName | # testName | ||||
# testName --param1 --param2 | # testName --param1 --param2 | ||||
# testname --param3 | # testname --param3 | ||||
"bip68-sequence.py": [["--magnetic-anomaly-time=1"]], | |||||
"txn_doublespend.py": [["--mineblock"]], | "txn_doublespend.py": [["--mineblock"]], | ||||
"txn_clone.py": [["--mineblock"]] | "txn_clone.py": [["--mineblock"]] | ||||
} | } | ||||
# Used to limit the number of tests, when list of tests is not provided on command line | # Used to limit the number of tests, when list of tests is not provided on command line | ||||
# When --extended is specified, we run all tests, otherwise | # When --extended is specified, we run all tests, otherwise | ||||
# we only run a test if its execution time in seconds does not exceed EXTENDED_CUTOFF | # we only run a test if its execution time in seconds does not exceed EXTENDED_CUTOFF | ||||
DEFAULT_EXTENDED_CUTOFF = 40 | DEFAULT_EXTENDED_CUTOFF = 40 | ||||
▲ Show 20 Lines • Show All 621 Lines • Show Last 20 Lines |