mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
dev-java/java-service-wrapper: made building tests USE-conditional
Only build ANYTHING test-related when USE=test is set. Closes: https://bugs.gentoo.org/856586 Signed-off-by: matoro <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/26519 Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
@@ -48,8 +48,9 @@ src_prepare() {
|
||||
java-pkg-2_src_prepare
|
||||
|
||||
# enable tests on all platforms
|
||||
grep "testsuite_SOURCE" "src/c/Makefile-linux-x86-64.make" | tee -a src/c/Makefile-*.make || die
|
||||
if use test; then
|
||||
grep "testsuite_SOURCE" "src/c/Makefile-linux-x86-64.make" | tee -a src/c/Makefile-*.make
|
||||
assert
|
||||
echo 'all: testsuite' | tee -a src/c/Makefile-*.make
|
||||
assert
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user