-
Notifications
You must be signed in to change notification settings - Fork 147
8268602: a couple runtime/os tests don't check exit code #25
Conversation
👋 Welcome back iignatyev! A progress list of the required criteria for merging this PR into |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value of doing this seems marginal, but strictly speaking yes every test that launches VM should check for a zero exit code. Arguably this should be built into the ProcessTools API so that we don't have to do it explicitly. The special case would be looking for a non-zero exit code.
In the case of failure it is more efficient to check the exit code first before potentially wasting time parsing output. But we probably don't care too much about that.
Thanks,
David
@iignatev This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
thanks, David. I've moved /integrate |
Going to push as commit cce8da2. |
Hi all,
could you please review this trivial and test-only patch that adds checks of exit code to two
runtime/os
tests?from JBS:
testing: ``runtime/os
on
{linux,windows,macosx}-x64`Thanks,
-- Igor
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/25/head:pull/25
$ git checkout pull/25
Update a local copy of the PR:
$ git checkout pull/25
$ git pull https://git.openjdk.java.net/jdk17 pull/25/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25
View PR using the GUI difftool:
$ git pr show -t 25
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/25.diff