From 223d6bd1ac0c033aa01cad3aad8051df8a161a49 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Sun, 24 Feb 2008 02:03:17 +0000 Subject: [PATCH] Make "make check" work properly for Python and Java. Summary: The Python and Java versions of "make check" only work if "make all" has been run. Our automake-fu isn't strong enough to make proper dependencies, so this hack suggested by Nitay will force the libraries to be built before make check is run. Test Plan: make check git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665497 13f79535-47bb-0310-9956-ffa450edef68 --- lib/java/Makefile.am | 1 + lib/py/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/java/Makefile.am b/lib/java/Makefile.am index ddbf2f06..2aa57140 100644 --- a/lib/java/Makefile.am +++ b/lib/java/Makefile.am @@ -7,3 +7,4 @@ install-exec-hook: clean-generic: $(ANT) clean +check-local: all diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am index 257e9abe..1142b3c3 100644 --- a/lib/py/Makefile.am +++ b/lib/py/Makefile.am @@ -14,3 +14,4 @@ install-exec-hook: clean-generic: rm -rf build +check-local: all -- 2.17.1