RFR: 7903742: Some jtreg self-tests fail
Jonathan Gibbons
jjg at openjdk.org
Wed Jun 5 21:37:59 UTC 2024
Please review an update for the `jtreg` self-tests.
The updates are primarily around the use of `JDK*HOME` variables for older JDKs, like 1.1, 5, 6, 7.
Where reasonable, these have been updated to more recent versions of JDK. In some cases, the tests no longer make sense and have been deleted. In some of those cases the tests were "`ifdef` zombies" that were no longer ever executed.
In addition, rules have been added to the main `test` target in the main `Makefile`, such that it will report if any tests may have been suppressed because of specific environment settings (or lack thereof)
One latent long-standing error was fixed in `TimeoutTest.ok` such that files were written into the test-source directory due to the equivalent of `$(pwd)/$(pwd)/path/to/dir`
-------------
Commit messages:
- CODETOOLS-7903742: Some jtreg self-tests fail
Changes: https://git.openjdk.org/jtreg/pull/202/files
Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=202&range=00
Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903742
Stats: 525 lines in 21 files changed: 30 ins; 460 del; 35 mod
Patch: https://git.openjdk.org/jtreg/pull/202.diff
Fetch: git fetch https://git.openjdk.org/jtreg.git pull/202/head:pull/202
PR: https://git.openjdk.org/jtreg/pull/202
More information about the jtreg-dev
mailing list