[Webkit-unassigned] [Bug 220860] New: [GTK] run-gtk-tests: Use sys.exit(1) instead of return 1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 22 06:55:28 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220860
Bug ID: 220860
Summary: [GTK] run-gtk-tests: Use sys.exit(1) instead of return
1
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aboya at igalia.com
Several parts of the code in api_test_runner.py returned 1 on failure.
While common for main() functions, this is bad in functions that are
expected to return something else than an exit code, and lets the
program run after the error. sys.exit(1) should be used in those cases
instead.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210122/921f5939/attachment.htm>
More information about the webkit-unassigned
mailing list