help="log events at this level and higher to the console. Can be set to DEBUG, INFO, WARNING, ERROR or CRITICAL. Passing --loglevel DEBUG will output all logs to console. Note that logs at all levels are always written to the test_framework.log file in the temporary test directory.")
help="log events at this level and higher to the console. Can be set to DEBUG, INFO, WARNING, ERROR or CRITICAL. Passing --loglevel DEBUG will output all logs to console. Note that logs at all levels are always written to the test_framework.log file in the temporary test directory.")
@ -16,6 +16,7 @@ For a description of arguments recognized by test scripts, see
importargparse
importargparse
importconfigparser
importconfigparser
importdatetime
importos
importos
importtime
importtime
importshutil
importshutil
@ -170,6 +171,7 @@ def main():
parser.add_argument('--jobs','-j',type=int,default=4,help='how many test scripts to run in parallel. Default=4.')
parser.add_argument('--jobs','-j',type=int,default=4,help='how many test scripts to run in parallel. Default=4.')
parser.add_argument('--keepcache','-k',action='store_true',help='the default behavior is to flush the cache directory on startup. --keepcache retains the cache from the previous testrun.')
parser.add_argument('--keepcache','-k',action='store_true',help='the default behavior is to flush the cache directory on startup. --keepcache retains the cache from the previous testrun.')
parser.add_argument('--quiet','-q',action='store_true',help='only print results summary and failure logs')
parser.add_argument('--quiet','-q',action='store_true',help='only print results summary and failure logs')
parser.add_argument('--tmpdirprefix','-t',default=tempfile.gettempdir(),help="Root directory for datadirs")
args,unknown_args=parser.parse_known_args()
args,unknown_args=parser.parse_known_args()
# args to be passed on always start with two dashes; tests are the remaining unknown args
# args to be passed on always start with two dashes; tests are the remaining unknown args