-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8247690: RunTest does not support running of JTREG manual tests #28381
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 mdonovan! A progress list of the required criteria for merging this PR into |
|
@mpdonova 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 33 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. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
erikj79
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.
I think this looks ok. Please update doc/testing.[md|html] with documentation describing this new option.
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.
Seems that it's no need to distinguish manual tests and automatic tests. Just remove '-automatic' will make the original make command can run all the jtreg tests except the test has mark as '@ignore'
I reverted my change and removed the '-automatic' flag. However, I can see an argument for having the flag. When specifying a test directory (instead of a specific test) the flag will only run the automatic or manual tests. That can be useful if you have to do manual test verification. |
Do you mean run all the manual tests for the specific directory. Maybe pass parameter make test TEST=test/jdk/ JTREG="OPTIONS=-m" |
What makes you say this? We have tons of tests with the |
I think you are right, we are relay on the default '-automatic' option to exclude the '/manual' tests, especial the CI? It's not a good idea to change the long history habit |
doc/testing.md
Outdated
|
|
||
| #### MANUAL | ||
|
|
||
| Set to `true` to execute manual tests. |
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.
I believe this will execute only manual tests.
-m | -manual Only tests with /manual will be run
doc/testing.md
Outdated
| spaces and special characters (like `!`) are properly quoted. To avoid some | ||
| issues, the special value `%20` can be used instead of space. | ||
|
|
||
|
|
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.
It looks like an accidental extra newline was added here.
|
/integrate |
|
Going to push as commit f125c76.
Your commit was automatically rebased without conflicts. |
This PR adds a make keyword, MANUAL, to run manual tests with the make command e.g.:
I've gotten into the habit of running tests with make and although this doesn't come up often, I have wanted the functionality for a while.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28381/head:pull/28381$ git checkout pull/28381Update a local copy of the PR:
$ git checkout pull/28381$ git pull https://git.openjdk.org/jdk.git pull/28381/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28381View PR using the GUI difftool:
$ git pr show -t 28381Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28381.diff
Using Webrev
Link to Webrev Comment