-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8343832: Enhance test summary with number of skipped tests #22245
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
Conversation
|
👋 Welcome back Domest0s! A progress list of the required criteria for merging this PR into |
|
@Domest0s 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 117 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@magicus, @erikj79) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
magicus
left a comment
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.
This looks good!
To be clear, I assisted in writing some of this code, so I think a secondary reviewer is in order.
/reviewers 2
|
@Domest0s |
|
|
It should have been obvious to me that other test frameworks like gtest and microbenchmarking also use that same "run-test-report" target-routine to present results and so they also have to define the variable for the number of skipped tests. Any objections? |
|
@Domest0s This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Don't close it just yet, bot. |
|
JDK moved to the newer JTREG 7.5.1 - https://bugs.openjdk.org/browse/JDK-8339238. |
|
The GHA tests all look failed since Actually, I think I answered myself. :-) We should not inform about skipped tests in GHA. |
|
Actually, my assessment was wrong -- it is not the GHA script that is the cause of failure. Instead, it was the changes in RunTests.gmk that were not complete. They tried to detect if there were any errors by comparing the number of successful tests with the total number of tests, but this is no longer an uphold invariant. Another side effect of this was that even when run locally, tests suites with passed tests would be marked as failed. It was a bit tricky to describe what was needed for this, so I made a patch at |
Fix so skipped tests are not considered failures
|
|
magicus
left a comment
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.
Looks good now to me. Technically, I assume it would be good if you get a re-review of the latest commit, since I should not be reviewing my own code.
|
/integrate |
|
/sponsor |
|
Going to push as commit 2019f44.
Your commit was automatically rebased without conflicts. |
|
@LudwikJaniuk @Domest0s Pushed as commit 2019f44. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The output for Jtreg v7.5 was enhanced with information about skipped tests.
Use the additional information in the "summary" block printed at the end of
make testtarget.Progress
Issue
Backport <hash>with the hash of the original commit. See Backports.Reviewers
Contributors
<ihse@openjdk.org>Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/22245/head:pull/22245$ git checkout pull/22245Update a local copy of the PR:
$ git checkout pull/22245$ git pull https://git.openjdk.org/jdk.git pull/22245/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 22245View PR using the GUI difftool:
$ git pr show -t 22245Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/22245.diff
Using Webrev
Link to Webrev Comment