| Summary: | [TestWebKitAPI] Explicitly exit after completing tests | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> | ||||||
| Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aakash_jain, ap, darin, dewei_zhu, hi, ryanhaddad, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Jonathan Bedard
2021-05-12 10:56:44 PDT
Created attachment 428385 [details]
Patch
Comment on attachment 428385 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428385&action=review > Tools/TestWebKitAPI/ios/mainIOS.mm:56 > - return passed ? EXIT_SUCCESS : EXIT_FAILURE; > + exit(passed ? EXIT_SUCCESS : EXIT_FAILURE); If this works, it works, but please add a comment linking to a radar that tracks investigating the root cause here. Created attachment 428397 [details]
Patch
Committed r277387 (237643@main): <https://commits.webkit.org/237643@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428397 [details]. Comment on attachment 428397 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428397&action=review > Tools/TestWebKitAPI/ios/mainIOS.mm:56 > + // FIXME: Work-around for <rdar://problem/77922262> I understand that Alexey requested a comment. And a comment is good. However, we do not need a FIXME. We can use exit() forever and need never go back to using return here. The comment can help us remember not to change the code back! |