diff options
-rw-r--r-- | src/transport/test_transport_ats.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/transport/test_transport_ats.c b/src/transport/test_transport_ats.c index ef33e0f8b..1f7c74ec0 100644 --- a/src/transport/test_transport_ats.c +++ b/src/transport/test_transport_ats.c | |||
@@ -47,12 +47,12 @@ | |||
47 | /** | 47 | /** |
48 | * How long until we give up on transmitting the message? | 48 | * How long until we give up on transmitting the message? |
49 | */ | 49 | */ |
50 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) | 50 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 20) |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * How long until we give up on transmitting the message? | 53 | * How long until we give up on transmitting the message? |
54 | */ | 54 | */ |
55 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) | 55 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) |
56 | 56 | ||
57 | #define MTYPE 12345 | 57 | #define MTYPE 12345 |
58 | 58 | ||
@@ -494,6 +494,15 @@ main (int argc, char *argv[]) | |||
494 | "WARNING", | 494 | "WARNING", |
495 | #endif | 495 | #endif |
496 | NULL); | 496 | NULL); |
497 | #ifdef HAVE_LIBGLPK | ||
498 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
499 | "GLPK is installed\n"); | ||
500 | #else | ||
501 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
502 | "GLPK is not installed\n"); | ||
503 | return 0; | ||
504 | |||
505 | #endif | ||
497 | 506 | ||
498 | if (strstr(argv[0], "tcp_nat") != NULL) | 507 | if (strstr(argv[0], "tcp_nat") != NULL) |
499 | { | 508 | { |