Test cases of LicenseTest are missing jdk.jpackage.test.Annotations.Test annotation. This results in a cumbersome command line for the jpackage test runner:
---
jdk.jpackage.test.Main --jpt-run=LicenseTest.testCustomDebianCopyright --jpt-run=LicenseTest.testCustomDebianCopyrightSubst --jpt-run=LicenseTest.testLinuxLicenseInUsrTree --jpt-run=LicenseTest.testLinuxLicenseInUsrTree2 --jpt-run=LicenseTest.testLinuxLicenseInUsrTree3 --jpt-run=LicenseTest.testLinuxLicenseInUsrTree4
---
Add missing annotations to simplify it down to:
---
jdk.jpackage.test.Main --jpt-run=LicenseTest
---
---
jdk.jpackage.test.Main --jpt-run=LicenseTest.testCustomDebianCopyright --jpt-run=LicenseTest.testCustomDebianCopyrightSubst --jpt-run=LicenseTest.testLinuxLicenseInUsrTree --jpt-run=LicenseTest.testLinuxLicenseInUsrTree2 --jpt-run=LicenseTest.testLinuxLicenseInUsrTree3 --jpt-run=LicenseTest.testLinuxLicenseInUsrTree4
---
Add missing annotations to simplify it down to:
---
jdk.jpackage.test.Main --jpt-run=LicenseTest
---
- links to
-
Commit(master) openjdk/jdk/97dd06ce
-
Review(master) openjdk/jdk/22987