Integrated: 7903592: Add test source set

Jorn Vernee jvernee at openjdk.org
Mon Nov 27 11:54:33 UTC 2023


On Wed, 22 Nov 2023 13:32:05 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Add a source set for the test source directories in gradle. And add the jtreg jars as dependencies of test compilation. Intellij will then automatically mark the directories as test source directories, and add the jtreg jar files to the class path of the tests (so that e.g. the `@Test` annotation and other testng imports are recognized)
> 
> i.e. these changes are for better Intellij (and maybe other IDE) integration.

This pull request has now been integrated.

Changeset: fed675f5
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/fed675f572aa393a4ec718e5b23efb50fd9fdfd0
Stats:     15 lines in 1 file changed: 15 ins; 0 del; 0 mod

7903592: Add test source set

Reviewed-by: mcimadamore

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

PR: https://git.openjdk.org/jextract/pull/143


More information about the jextract-dev mailing list