Skip to content

Automatically report exit status in browser tests #12928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 30, 2020

This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

@sbc100 sbc100 requested a review from kripken November 30, 2020 22:08
@sbc100 sbc100 force-pushed the browsertest_exit_status branch from bd6f298 to c306f53 Compare November 30, 2020 22:09
@sbc100 sbc100 force-pushed the browsertest_exit_status branch from c306f53 to 62d3011 Compare December 1, 2020 01:50
sbc100 added a commit that referenced this pull request Dec 1, 2020
Because this header is force-included into all browser tests it should
be as un-intrusive as possible.

This also involved adding includes to a few tests that were indirectly
relying on these includes.  Better to IWYN.

Split out from #12928
sbc100 added a commit that referenced this pull request Dec 1, 2020
Because this header is force-included into all browser tests it should
be as un-intrusive as possible.

This also involved adding includes to a few tests that were indirectly
relying on these includes.  Better to IWYN.

Split out from #12928
@sbc100 sbc100 force-pushed the browsertest_exit_status branch 2 times, most recently from 7534ead to 4dc0974 Compare December 2, 2020 00:47
@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 2, 2020

Requires #12933

This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
@sbc100 sbc100 force-pushed the browsertest_exit_status branch from 4dc0974 to a6ddc6d Compare December 2, 2020 22:09
@sbc100 sbc100 merged commit e94989d into master Dec 2, 2020
@sbc100 sbc100 deleted the browsertest_exit_status branch December 2, 2020 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants