RFR: 8366359: Test should throw SkippedException when there is no lpstat [v2]
SendaoYan
syan at openjdk.org
Fri Aug 29 02:48:35 UTC 2025
> Hi all,
>
> I think test javax/print/PrintServiceLookup/CountPrintServices.java should throw jtreg.SkippedException when there is no lpstat, rather that report test failure.
>
> Only javax/print/PrintServiceLookup/CountPrintServices.java invokes lpstat explicitly.
>
> Change has been verified locally, test-fix only, no risk.
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
Use "@requires (os.family == "linux")" instead of check OS type in code
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26988/files
- new: https://git.openjdk.org/jdk/pull/26988/files/76ac6732..ece92c1d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26988&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26988&range=00-01
Stats: 7 lines in 1 file changed: 1 ins; 6 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/26988.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26988/head:pull/26988
PR: https://git.openjdk.org/jdk/pull/26988
More information about the client-libs-dev
mailing list