From ff50f28700b68264f2d54d8f6fb3b929b64c5a32 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Sat, 23 Feb 2008 22:07:46 +0000 Subject: [PATCH] Add automake support for running the Java tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665496 13f79535-47bb-0310-9956-ffa450edef68 --- configure.ac | 1 + test/Makefile.am | 4 ++++ test/java/Makefile.am | 6 ++++++ 3 files changed, 11 insertions(+) create mode 100644 test/java/Makefile.am diff --git a/configure.ac b/configure.ac index d8a7b006..96329ce7 100644 --- a/configure.ac +++ b/configure.ac @@ -129,6 +129,7 @@ AC_CONFIG_FILES([ if/Makefile test/Makefile test/py/Makefile + test/java/Makefile ]) AC_OUTPUT diff --git a/test/Makefile.am b/test/Makefile.am index 07c2e77c..db317389 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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 index 00000000..8cb19ae7 --- /dev/null +++ b/test/java/Makefile.am @@ -0,0 +1,6 @@ +check: + $(ANT) test + +clean-generic: + $(ANT) clean + -- 2.17.1