From cec1f698129682124b2f4831cef7354102f56e50 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Mon, 25 Jan 2010 09:28:20 +0000 Subject: [PATCH] remove debug options when not specified, otherwise they linger in the configuration between test runs --- src/transport/test_transport_api.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 6f6130008..9702d945d 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c @@ -31,7 +31,7 @@ #include "gnunet_transport_service.h" #include "transport.h" -#define VERBOSE GNUNET_YES +#define VERBOSE GNUNET_NO #define VERBOSE_ARM GNUNET_NO @@ -247,6 +247,9 @@ setTransportOptions(char * filename) #if VERBOSE_TRANSPORT GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "DEBUG", "YES"); GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "PREFIX", "xterm -e xterm -T transport -e gdb --args"); +#else + GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "DEBUG", "NO"); + GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "PREFIX", ""); #endif GNUNET_CONFIGURATION_write(tempcfg, filename); -- 2.25.1