You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2012/11/18 17:49:46 UTC

[49/50] git commit: Added --disable-tests flag to make my job easier

Added --disable-tests flag to make my job easier


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5ffa6e7e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5ffa6e7e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5ffa6e7e

Branch: refs/heads/docs_tmp
Commit: 5ffa6e7e94b4a7c793ae2e223bd11155a3d1bb60
Parents: 78a9eb3
Author: Noah Slater <ns...@apache.org>
Authored: Sat Oct 13 16:23:52 2012 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Sun Nov 18 00:15:29 2012 +0000

----------------------------------------------------------------------
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/5ffa6e7e/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 504eef7..c52c5be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -438,6 +438,11 @@ AC_ARG_ENABLE([launchd], [AC_HELP_STRING([--disable-launchd],
     use_launchd=$enableval
 ], [])
 
+AC_ARG_ENABLE([tests], [AC_HELP_STRING([--disable-tests],
+    [skip tests during build])], [
+    tests_enabled=$enableval
+], [])
+
 AC_ARG_ENABLE([native-mochijson], [AC_HELP_STRING([--enable-native-mochijson],
     [compile mochijson to native code (EXPERIMENTAL)])], [
     native_mochijson_enabled=$enableval
@@ -445,6 +450,7 @@ AC_ARG_ENABLE([native-mochijson], [AC_HELP_STRING([--enable-native-mochijson],
 
 init_enabled=false
 launchd_enabled=false
+tests_enabled=false
 
 if test "$use_init" = "yes"; then
    AC_MSG_CHECKING(location of init directory)
@@ -503,6 +509,7 @@ AM_CONDITIONAL([LAUNCHD], [test x${launchd_enabled} = xtrue])
 AM_CONDITIONAL([HELP2MAN], [test x${help2man_enabled} = xtrue])
 AM_CONDITIONAL([USE_NATIVE_MOCHIJSON], [test x${native_mochijson_enabled} = xyes])
 AM_CONDITIONAL([USE_CURL], [test x${use_curl} = xyes])
+AM_CONDITIONAL([RUN_TESTS], [test x$skip_tests = xyes])
 
 AC_SUBST([package_author_name], ["LOCAL_PACKAGE_AUTHOR_NAME"])
 AC_SUBST([package_author_address], ["LOCAL_PACKAGE_AUTHOR_ADDRESS"])