[jdk20] RFR: 8298324: Unable to run shell test with make

David Holmes dholmes at openjdk.org
Tue Jan 3 21:03:02 UTC 2023


On Thu, 8 Dec 2022 20:38:59 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> The parsing of the TestID in the TEST parameter currently only handles tests that are .java files. Jtreg tests can also be .html and .sh files. This patch extends the macro to also handle these kinds of files.
> 
> Without the patch, trying to run a shell test directly would fail like this:
> 
> 
> $ make test TEST=open/test/jdk/sun/security/tools/keytool/ListKeychainStore.sh
> Building target 'test' in configuration 'linux-x64'
> Test selection 'open/test/jdk/sun/security/tools/keytool/ListKeychainStore.sh', will run:
> * jtreg:open/test/jdk/sun/security/tools/keytool/ListKeychainStore.sh.sh
> 
> Running test 'jtreg:open/test/jdk/sun/security/tools/keytool/ListKeychainStore.sh.sh'
> Error: Cannot find file: open/test/jdk/sun/security/tools/keytool/ListKeychainStore.sh.sh

Seems okay. Thanks

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.org/jdk20/pull/5



More information about the build-dev mailing list