diff options
Diffstat (limited to 'src/testbed')
-rw-r--r-- | src/testbed/Makefile.am | 2 | ||||
-rw-r--r-- | src/testbed/gnunet-testbed-profiler.c | 4 | ||||
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 2 | ||||
-rw-r--r-- | src/testbed/testbed_api_testbed.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/testbed/Makefile.am b/src/testbed/Makefile.am index 27970cdf0..bd7eca3ae 100644 --- a/src/testbed/Makefile.am +++ b/src/testbed/Makefile.am | |||
@@ -9,7 +9,7 @@ if USE_COVERAGE | |||
9 | XLIB = -lgcov | 9 | XLIB = -lgcov |
10 | endif | 10 | endif |
11 | 11 | ||
12 | if WITH_LL | 12 | if ENABLE_LL |
13 | ll_binaries = \ | 13 | ll_binaries = \ |
14 | gnunet-testbed-mpi-spawn | 14 | gnunet-testbed-mpi-spawn |
15 | endif | 15 | endif |
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c index 5cca55b4b..686679e98 100644 --- a/src/testbed/gnunet-testbed-profiler.c +++ b/src/testbed/gnunet-testbed-profiler.c | |||
@@ -229,7 +229,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
229 | char *hostfile; | 229 | char *hostfile; |
230 | 230 | ||
231 | hostfile = NULL; | 231 | hostfile = NULL; |
232 | #ifndef WITH_LL | 232 | #if !ENABLE_LL |
233 | if (NULL == args[0]) | 233 | if (NULL == args[0]) |
234 | { | 234 | { |
235 | fprintf (stderr, _("No hosts-file specified on command line\n")); | 235 | fprintf (stderr, _("No hosts-file specified on command line\n")); |
@@ -271,7 +271,7 @@ main (int argc, char *const *argv) | |||
271 | GNUNET_YES, &GNUNET_GETOPT_set_uint, &num_cont_fails}, | 271 | GNUNET_YES, &GNUNET_GETOPT_set_uint, &num_cont_fails}, |
272 | GNUNET_GETOPT_OPTION_END | 272 | GNUNET_GETOPT_OPTION_END |
273 | }; | 273 | }; |
274 | #ifdef WITH_LL | 274 | #if ENABLE_LL |
275 | const char *binaryHelp = "gnunet-testbed-profiler [OPTIONS]"; | 275 | const char *binaryHelp = "gnunet-testbed-profiler [OPTIONS]"; |
276 | #else | 276 | #else |
277 | const char *binaryHelp = "gnunet-testbed-profiler [OPTIONS] hosts-file"; | 277 | const char *binaryHelp = "gnunet-testbed-profiler [OPTIONS] hosts-file"; |
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index 6cac5eeb6..f1f9003ee 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -588,7 +588,7 @@ GNUNET_TESTBED_hosts_load_from_loadleveler (const struct | |||
588 | GNUNET_CONFIGURATION_Handle *cfg, | 588 | GNUNET_CONFIGURATION_Handle *cfg, |
589 | struct GNUNET_TESTBED_Host ***hosts) | 589 | struct GNUNET_TESTBED_Host ***hosts) |
590 | { | 590 | { |
591 | #ifndef WITH_LL | 591 | #if !ENABLE_LL |
592 | LOG (GNUNET_ERROR_TYPE_ERROR, | 592 | LOG (GNUNET_ERROR_TYPE_ERROR, |
593 | _("The function %s is only available when compiled with (--with-ll)\n"), | 593 | _("The function %s is only available when compiled with (--with-ll)\n"), |
594 | __func__); | 594 | __func__); |
diff --git a/src/testbed/testbed_api_testbed.c b/src/testbed/testbed_api_testbed.c index 1297bfc23..282e4af88 100644 --- a/src/testbed/testbed_api_testbed.c +++ b/src/testbed/testbed_api_testbed.c | |||
@@ -1050,7 +1050,7 @@ GNUNET_TESTBED_run (const char *host_filename, | |||
1050 | GNUNET_assert (num_peers > 0); | 1050 | GNUNET_assert (num_peers > 0); |
1051 | rc = GNUNET_malloc (sizeof (struct RunContext)); | 1051 | rc = GNUNET_malloc (sizeof (struct RunContext)); |
1052 | rc->cfg = GNUNET_CONFIGURATION_dup (cfg); | 1052 | rc->cfg = GNUNET_CONFIGURATION_dup (cfg); |
1053 | #ifdef WITH_LL | 1053 | #if ENABLE_LL |
1054 | rc->num_hosts = GNUNET_TESTBED_hosts_load_from_loadleveler (rc->cfg, | 1054 | rc->num_hosts = GNUNET_TESTBED_hosts_load_from_loadleveler (rc->cfg, |
1055 | &rc->hosts); | 1055 | &rc->hosts); |
1056 | if (0 == rc->num_hosts) | 1056 | if (0 == rc->num_hosts) |