You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tests] Add combinedlogslen argument to test_runner.py
Instead of calling combine_logs from test_runner when the environment variable
PYTHON_DEBUG is set, add a combinedlogslen argument. This makes it easier
to call when running locally, and allows a different length of combined logs
to be printed.
Copy file name to clipboardExpand all lines: test/functional/test_runner.py
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -175,6 +175,7 @@ def main():
175
175
epilog='''
176
176
Help text and arguments for individual test script:''',
177
177
formatter_class=argparse.RawTextHelpFormatter)
178
+
parser.add_argument('--combinedlogslen', '-c', type=int, default=0, help='print a combined log (of length n lines) from all test nodes and test framework to the console on failure.')
178
179
parser.add_argument('--coverage', action='store_true', help='generate a basic coverage report for the RPC interface')
179
180
parser.add_argument('--exclude', '-x', help='specify a comma-separated-list of scripts to exclude.')
180
181
parser.add_argument('--extended', action='store_true', help='run the extended test suite in addition to the basic tests')
0 commit comments