The abc-cmdline.py test illustrates how tests can check their expected stderr traces.
Refer also to the OutputChecker class in qa/rpc-tests/test_framework/outputchecker.py.
Differential D230
Implement expected stderr output checks and out-of-tree single test execution deadalnix on Jun 19 2017, 18:40. Authored by Tags None Subscribers None
Details The abc-cmdline.py test illustrates how tests can check their expected stderr traces. Refer also to the OutputChecker class in qa/rpc-tests/test_framework/outputchecker.py. make check qa/pull-tester/rpc-tests.py abc-cmdline.py
Diff Detail
Event Timeline
Comment Actions Overall, this is a good approach. I think the whole design would benefit from passing the checker down directly instead of a boolean. That shouldn't be hard to change.
Comment Actions Will look at passing through OutputChecker object via initialize_chain().
Comment Actions Your test plan formats badly. Put two spaces before commands and generally use markdown.
Comment Actions General comment: This is turning into a back-and-forth over implementation preferences. If anyone wishes to take this Diff and create an improved or minimalized version in the interim,
|