Make "make check" work properly for Python and Java.
authorDavid Reiss <dreiss@apache.org>
Sun, 24 Feb 2008 02:03:17 +0000 (02:03 +0000)
committerDavid Reiss <dreiss@apache.org>
Sun, 24 Feb 2008 02:03:17 +0000 (02:03 +0000)
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
lib/py/Makefile.am

index ddbf2f0..2aa5714 100644 (file)
@@ -7,3 +7,4 @@ install-exec-hook:
 clean-generic:
        $(ANT) clean
 
+check-local: all
index 257e9ab..1142b3c 100644 (file)
@@ -14,3 +14,4 @@ install-exec-hook:
 clean-generic:
        rm -rf build
 
+check-local: all