On Thu, 5 Mar 2026 15:06:42 GMT, Alexey Semenyuk <[email protected]> wrote:

> A few jpackage tests have issues that don't show up when executed in the 
> regular JDK test environment but fail in the local dev test environment:
> 
>  - MainTest#testFailedCommandOutput() unit test will fail if 
> "jpackage.test.runtime-image" system property is set to skip jlink invocation.
> 
>  - A few test cases from SigningRuntimeImagePackageTest will fail if DMG 
> bundling is disabled ("jpackage.test.disabledPackagers: system property is 
> set to "dmg").
> 
>  - Most of macOS signing tests are broken if executed on older macOS 
> (Catalina). Even though this is an unsupported macOS version, it likely means 
> these tests may fail on other macOS versions. It is difficult to determine 
> which macOS version the problem first showed up in because these tests are 
> skipped by default.
> 
> This PR fixes the above issues identified in the JBS CR.
> 
> Additionally, fix LicenseTest so it works when both DEB and RPM packaging are 
> enabled; Remove `TKit.createRelativePathCopy()`; other changes are a 
> follow-up.

This pull request has now been integrated.

Changeset: a1b4ad09
Author:    Alexey Semenyuk <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/a1b4ad097e38d5769556814df84992f2d7aae83d
Stats:     225 lines in 8 files changed: 114 ins; 68 del; 43 mod

8379345: jpackage: Fix issues in tests to improve their flexibility

Reviewed-by: almatvee

-------------

PR: https://git.openjdk.org/jdk/pull/30081

Reply via email to