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

Erik Joelsson erikj at openjdk.org
Tue Jan 3 21:11:00 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

This pull request has now been integrated.

Changeset: 031829d8
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.org/jdk20/commit/031829d8854f2eae5f04d74bca515d58aab801ef
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8298324: Unable to run shell test with make

Reviewed-by: dholmes

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

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



More information about the build-dev mailing list