RESOLVED FIXED 220860
[GTK] run-gtk-tests: Use sys.exit(1) instead of return 1
https://bugs.webkit.org/show_bug.cgi?id=220860
Summary [GTK] run-gtk-tests: Use sys.exit(1) instead of return 1
Alicia Boya García
Reported 2021-01-22 06:55:28 PST
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.
Attachments
Patch (1.86 KB, patch)
2021-01-22 07:04 PST, Alicia Boya García
no flags
Alicia Boya García
Comment 1 2021-01-22 07:04:01 PST
EWS
Comment 2 2021-01-25 02:23:12 PST
Committed r271789: <https://trac.webkit.org/changeset/271789> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418146 [details].
Radar WebKit Bug Importer
Comment 3 2021-01-25 02:24:13 PST
Note You need to log in before you can comment on or make changes to this bug.