summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-28 22:28:09 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-28 22:28:09 +0200
commit03fb570a9cd099a24720b38bd33dfbe96cfd6a3b (patch)
tree841166db9a64622946c43cd98d7fee1dc15940ba /configure.ac
parent0b5fc996879d3d404192f7d532970abce68d2d1d (diff)
downloadexchange-03fb570a9cd099a24720b38bd33dfbe96cfd6a3b.tar.gz
exchange-03fb570a9cd099a24720b38bd33dfbe96cfd6a3b.tar.bz2
exchange-03fb570a9cd099a24720b38bd33dfbe96cfd6a3b.zip
have option to disable expensive tests
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4b0a8351..498053c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,16 @@ AC_DEFINE_UNQUOTED([NEED_LIBGCRYPT_VERSION], ["$need_libgcrypt_version"],
AM_PATH_LIBGCRYPT([$need_libgcrypt_version])
+# should expensive tests be run?
+AC_MSG_CHECKING(whether to run expensive tests)
+AC_ARG_ENABLE([expensivetests],
+ [AS_HELP_STRING([--enable-expensivetests], [enable running expensive testcases])],
+ [enable_expensive=${enableval}],
+ [enable_expensive=no])
+AC_MSG_RESULT($enable_expensive)
+AM_CONDITIONAL([HAVE_EXPENSIVE_TESTS], [test "x$enable_expensive" = "xyes"])
+
+
if test "$wallet_only" != yes
then