diff options
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index 759241c52..bef2d0ffe 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c | |||
@@ -26,24 +26,9 @@ | |||
26 | * achieve reliable message delivery. | 26 | * achieve reliable message delivery. |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "gnunet_common.h" | ||
30 | #include "gnunet_hello_lib.h" | ||
31 | #include "gnunet_getopt_lib.h" | ||
32 | #include "gnunet_os_lib.h" | ||
33 | #include "gnunet_program_lib.h" | ||
34 | #include "gnunet_scheduler_lib.h" | ||
35 | #include "gnunet_server_lib.h" | ||
36 | #include "gnunet_transport_service.h" | 29 | #include "gnunet_transport_service.h" |
37 | #include "gauger.h" | 30 | #include "gauger.h" |
38 | #include "transport.h" | ||
39 | #include "transport-testing.h" | 31 | #include "transport-testing.h" |
40 | |||
41 | #define VERBOSE GNUNET_NO | ||
42 | |||
43 | #define VERBOSE_ARM GNUNET_NO | ||
44 | |||
45 | #define START_ARM GNUNET_YES | ||
46 | |||
47 | /** | 32 | /** |
48 | * Testcase timeout | 33 | * Testcase timeout |
49 | */ | 34 | */ |
@@ -479,18 +464,12 @@ check () | |||
479 | static char *argv[] = { "test_transport", | 464 | static char *argv[] = { "test_transport", |
480 | "-c", | 465 | "-c", |
481 | "test_transport_api_data.conf", | 466 | "test_transport_api_data.conf", |
482 | #if VERBOSE | ||
483 | "-L", "DEBUG", | ||
484 | #endif | ||
485 | NULL | 467 | NULL |
486 | }; | 468 | }; |
487 | static struct GNUNET_GETOPT_CommandLineOption options[] = { | 469 | static struct GNUNET_GETOPT_CommandLineOption options[] = { |
488 | GNUNET_GETOPT_OPTION_END | 470 | GNUNET_GETOPT_OPTION_END |
489 | }; | 471 | }; |
490 | 472 | ||
491 | #if WRITECONFIG | ||
492 | setTransportOptions ("test_transport_api_data.conf"); | ||
493 | #endif | ||
494 | ok = 1; | 473 | ok = 1; |
495 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, test_name, | 474 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, test_name, |
496 | "nohelp", options, &run, &ok); | 475 | "nohelp", options, &run, &ok); |
@@ -506,11 +485,7 @@ main (int argc, char *argv[]) | |||
506 | GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); | 485 | GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); |
507 | 486 | ||
508 | GNUNET_log_setup (test_name, | 487 | GNUNET_log_setup (test_name, |
509 | #if VERBOSE | ||
510 | "DEBUG", | ||
511 | #else | ||
512 | "WARNING", | 488 | "WARNING", |
513 | #endif | ||
514 | NULL); | 489 | NULL); |
515 | 490 | ||
516 | GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source); | 491 | GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source); |