[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20893 - in gnunet: . src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20893 - in gnunet: . src/fs |
Date: |
Wed, 4 Apr 2012 10:21:40 +0200 |
Author: grothoff
Date: 2012-04-04 10:21:40 +0200 (Wed, 04 Apr 2012)
New Revision: 20893
Modified:
gnunet/configure.ac
gnunet/src/fs/fs.conf.in
Log:
adding configure option to run GNUnet with monkey
Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2012-04-04 08:18:38 UTC (rev 20892)
+++ gnunet/configure.ac 2012-04-04 08:21:40 UTC (rev 20893)
@@ -775,6 +775,24 @@
AC_MSG_RESULT($enable_test_run)
AM_CONDITIONAL([ENABLE_TEST_RUN], [test "x$enable_tests_run" = "xyes"])
+
+# should monkey be used when running (certain) services?
+AC_MSG_CHECKING(whether to run with monkey)
+AC_ARG_ENABLE([monkey],
+ [AS_HELP_STRING([--enable-monkey], [enable running with monkey])],
+ [enable_monkey=${enableval}],
+ [enable_monkey=no])
+AC_MSG_RESULT($enable_monkey)
+AM_CONDITIONAL([ENABLE_MONKEY], [test "x$enable_monkey" = "xyes"])
+if test "x$enable_monkey" = "xyes"
+then
+ MONKEYPREFIX=""
+else
+ MONKEYPREFIX="monkey"
+fi
+AC_SUBST(MONKEYPREFIX)
+
+
# should expensive tests be run?
AC_MSG_CHECKING(whether to run expensive tests)
AC_ARG_ENABLE([expensivetests],
Modified: gnunet/src/fs/fs.conf.in
===================================================================
--- gnunet/src/fs/fs.conf.in 2012-04-04 08:18:38 UTC (rev 20892)
+++ gnunet/src/fs/fs.conf.in 2012-04-04 08:21:40 UTC (rev 20893)
@@ -29,4 +29,6 @@
MIN_MIGRATION_DELAY = 100 ms
EXPECTED_NEIGHBOUR_COUNT = 128
+# Enable monkey?
+PREFIX = @MONKEYPREFIX@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20893 - in gnunet: . src/fs,
gnunet <=