THRIFT-289. test: "make check" no longer runs the Java tests
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 29 Jan 2009 21:31:25 +0000 (21:31 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 29 Jan 2009 21:31:25 +0000 (21:31 +0000)
Thanks to David for the changes that straighten the makefiles out.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739024 13f79535-47bb-0310-9956-ffa450edef68

configure.ac
lib/java/Makefile.am
test/Makefile.am
test/java/Makefile.am [deleted file]

index e42b8cb..cc9d05f 100644 (file)
@@ -182,7 +182,6 @@ AC_CONFIG_FILES([
   if/Makefile
   test/Makefile
   test/py/Makefile
-  test/java/Makefile
   test/rb/Makefile
 ])
 
index 45a88e2..ae8a4d3 100644 (file)
@@ -12,3 +12,5 @@ clean-local:
        $$ANT clean
 
 check-local: all
+       $(ANT) test
+
index dab0f4e..0c201c1 100644 (file)
@@ -1,9 +1,5 @@
 SUBDIRS =
 
-if WITH_JAVA
-SUBDIRS += java
-endif
-
 if WITH_PYTHON
 SUBDIRS += py
 endif
@@ -23,7 +19,8 @@ libtestgencpp_la_SOURCES = \
        gen-cpp/SecondService.cpp \
        gen-cpp/ThriftTest_constants.cpp \
        gen-cpp/ThriftTest.cpp \
-       gen-cpp/ThriftTest_types.cpp
+       gen-cpp/ThriftTest_types.cpp \
+       ThriftTest_extras.cpp
 
 libtestgencpp_la_LIBADD = $(top_builddir)/lib/cpp/libthrift.la
 
diff --git a/test/java/Makefile.am b/test/java/Makefile.am
deleted file mode 100644 (file)
index 1b6e839..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-check:
-       $(ANT) test
-
-# Make sure this doesn't fail if ant is not configured.
-clean-local:
-       ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
-       $$ANT clean
-