Commit 3eb0cfe3 seems to break test selection if there are multiple directories listed in JAVA_TEST_SRC_DIR as in dev-java/icu4j-72.1 JAVA_TEST_SRC_DIR=( tests/charset/src tests/collate/src tests/core/src ... ) It appears that tests only from the first directory are run: debug: -Djava.io.tmpdir=/var/tmp/portage/dev-java/icu4j-72.1/temp debug: -Djava.awt.headless=true debug: -Djava.locale.providers=CLDR,COMPAT,SPI debug: org.junit.runner.JUnitCore debug: com.ibm.icu.dev.test.charset.TestSelection debug: com.ibm.icu.dev.test.charset.TestConversion debug: com.ibm.icu.dev.test.charset.TestCharset JUnit version 4.13.2-SNAPSHOT Reverting commit 3eb0cfe3 would solve this regression but would break test separation per module as intended for multi-jar packages like dev-java/byte-buddy-1.14.0
CCing Leo3418
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0733594d8ff5e3fdd2b7617c36fdd2c761c66666 commit 0733594d8ff5e3fdd2b7617c36fdd2c761c66666 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2023-05-14 07:39:19 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2023-09-27 06:57:51 +0000 Revert "java-pkg-simple.eclass: improve test selection for multi-jar packages" This reverts commit 3eb0cfe339e79270446731b8f27bdc1b060d023b. Closes: https://bugs.gentoo.org/906311 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> eclass/java-pkg-simple.eclass | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-)