merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit d880b374d01a031f8354bbaab3036544629b87ab
parent b46239b12f00e64888d4a8d35c019c850e740840
Author: Florian Dold <florian.dold@gmail.com>
Date:   Fri,  6 Apr 2018 00:32:00 +0200

put twister tests behind --enable-experimental

Diffstat:
Mconfigure.ac | 10++++++++++
Msrc/lib/Makefile.am | 2++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -316,6 +316,16 @@ AM_CONDITIONAL([HAVE_TWISTER], [true]) fi +# should experimental code be compiled (code that may not yet compile / have passing test cases)? +AC_MSG_CHECKING(whether to compile experimental code) +AC_ARG_ENABLE([experimental], + [AS_HELP_STRING([--enable-experimental], [enable compiling experimental code])], + [enable_experimental=${enableval}], + [enable_experimental=no]) +AC_MSG_RESULT($enable_experimental) +AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"]) + + AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am @@ -78,9 +78,11 @@ check_PROGRAMS = \ test_merchant_api_new \ test_merchant_api +if HAVE_EXPERIMENTAL if HAVE_TWISTER check_PROGRAMS += test_merchant_api_twisted endif +endif endif