mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
java: Only build the tests when running 'make check'.
Make the tests 'check_DATA' so they only get built when running the tests.
This commit is contained in:
@@ -134,7 +134,7 @@ endif ENABLE_APPLIANCE
|
||||
|
||||
TESTS_ENVIRONMENT = $(top_builddir)/run --test
|
||||
|
||||
noinst_DATA = Bindtests.class $(java_tests:.java=.class)
|
||||
check_DATA = Bindtests.class $(java_tests:.java=.class)
|
||||
|
||||
t/%.class: t/%.java libguestfs-$(VERSION).jar
|
||||
$(JAVAC) $(JAVAC_FLAGS) -classpath libguestfs-$(VERSION).jar -d t $<
|
||||
|
||||
Reference in New Issue
Block a user