[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libguestfs
Subject:    [Libguestfs] [PATCH 2/2] java: Only build the tests when running 'make check'.
From:       "Richard W.M. Jones" <rjones () redhat ! com>
Date:       2015-09-29 21:46:00
Message-ID: 1443563160-28114-2-git-send-email-rjones () redhat ! com
[Download RAW message or body]

Make the tests 'check_DATA' so they only get built when running the
tests.
---
 java/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/Makefile.am b/java/Makefile.am
index fa5b45c..b562192 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -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 $<
-- 
2.5.0

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic