RFR: 8307076: gradle test should always run tests
Kevin Rushforth
kcr at openjdk.org
Sat Apr 29 14:02:23 UTC 2023
"gradle test" won't rerun a test that has already passed. This is surprising behavior, especially for UI toolkit tests where there might be many reasons to want to run the tests again, even if none of that tests "inputs" have changed. This is especially bothersome when debugging an intermittent test failure. Unlike rebuilding the JavaFX runtime or the docs, where there is no need to rerun a task that was successful if none of the inputs to that task have changed, I expect gradle to run my test when I tell it to.
This PR will make test tasks always run when specified.
-------------
Commit messages:
- 8307076: gradle test should always run tests
Changes: https://git.openjdk.org/jfx/pull/1120/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1120&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8307076
Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jfx/pull/1120.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1120/head:pull/1120
PR: https://git.openjdk.org/jfx/pull/1120
More information about the openjfx-dev
mailing list