Move detailed QML functional coverage into integration tests

bitcoin-core/gui-qml: PR #1090

1 suggestion

Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · SystemExit(None) logs PASS but makes the scenario suite exit 1

The test runner would print [PASS] yet return failure for a scenario raising SystemExit(None), although no current scenario producing that input was identified.

Location: test/functional/qml_scenarios.py:81 (head).

Details and suggested fix

A bare sys.exit() or raise SystemExit gives error.code == None. The exception branch treats that as a failure because None is not in (0, 77), while the result formatter treats it as a pass. Consequently, an otherwise passing suite would return 1 without a corresponding [FAIL] line. Normalize the exception code with status = 0 if error.code is None else error.code before classifying it. Add SystemExit(None) to test_pass; its existing None case only tests an ordinary return value. This preserves the existing failure-over-skip precedence.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.