Changeset View
Changeset View
Standalone View
Standalone View
test/functional/test_runner.py
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | TEST_PARAMS = { | ||||
# 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 | ||||
"wallet_txn_doublespend.py": [["--mineblock"]], | "wallet_txn_doublespend.py": [["--mineblock"]], | ||||
"wallet_txn_clone.py": [["--mineblock"]], | "wallet_txn_clone.py": [["--mineblock"]], | ||||
"wallet_multiwallet.py": [["--usecli"]], | "wallet_multiwallet.py": [["--usecli"]], | ||||
"wallet_disableprivatekeys.py": [["--usecli"]], | |||||
} | } | ||||
# 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 | ||||
DEFAULT_JOBS = (multiprocessing.cpu_count() // 3) + 1 | DEFAULT_JOBS = (multiprocessing.cpu_count() // 3) + 1 | ||||
▲ Show 20 Lines • Show All 674 Lines • Show Last 20 Lines |