Add automake support for running the Java tests.
authorDavid Reiss <dreiss@apache.org>
Sat, 23 Feb 2008 22:07:46 +0000 (22:07 +0000)
committerDavid Reiss <dreiss@apache.org>
Sat, 23 Feb 2008 22:07:46 +0000 (22:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665496 13f79535-47bb-0310-9956-ffa450edef68

configure.ac
test/Makefile.am
test/java/Makefile.am [new file with mode: 0644]

index d8a7b00..96329ce 100644 (file)
@@ -129,6 +129,7 @@ AC_CONFIG_FILES([
   if/Makefile
   test/Makefile
   test/py/Makefile
+  test/java/Makefile
 ])
 
 AC_OUTPUT
index 07c2e77..db31738 100644 (file)
@@ -1,5 +1,9 @@
 SUBDIRS = py
 
+if ENABLE_JAVA
+SUBDIRS += java
+endif
+
 check_PROGRAMS = \
        DebugProtoTest \
        JSONProtoTest \
diff --git a/test/java/Makefile.am b/test/java/Makefile.am
new file mode 100644 (file)
index 0000000..8cb19ae
--- /dev/null
@@ -0,0 +1,6 @@
+check:
+       $(ANT) test
+
+clean-generic:
+       $(ANT) clean
+