msg
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 28 Mar 2011 16:41:58 +0000 (16:41 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 28 Mar 2011 16:41:58 +0000 (16:41 +0000)
src/transport/test_transport_ats.c

index ef33e0f8be64121348f482183254e427d9fd4fc5..1f7c74ec05e08d21827d35f0e9fe1d9d7d67fde9 100644 (file)
 /**
  * How long until we give up on transmitting the message?
  */
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 20)
 
 /**
  * How long until we give up on transmitting the message?
  */
-#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
 
 #define MTYPE 12345
 
@@ -494,6 +494,15 @@ main (int argc, char *argv[])
                     "WARNING",
 #endif
                     NULL);
+#ifdef HAVE_LIBGLPK
+  GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+              "GLPK is installed\n");
+#else
+  GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+              "GLPK is not installed\n");
+  return 0;
+
+#endif
 
   if (strstr(argv[0], "tcp_nat") != NULL)
     {