aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-01-25 09:28:20 +0000
committerNathan S. Evans <evans@in.tum.de>2010-01-25 09:28:20 +0000
commitcec1f698129682124b2f4831cef7354102f56e50 (patch)
tree4b3c8785e52880e005dc65f4002c295359debe6a /src
parent525c97aefa44e2952b9b13b1f6f735d9db4dbd40 (diff)
downloadgnunet-cec1f698129682124b2f4831cef7354102f56e50.tar.gz
gnunet-cec1f698129682124b2f4831cef7354102f56e50.zip
remove debug options when not specified, otherwise they linger in the configuration between test runs
Diffstat (limited to 'src')
-rw-r--r--src/transport/test_transport_api.c5
1 files changed, 4 insertions, 1 deletions
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 @@
31#include "gnunet_transport_service.h" 31#include "gnunet_transport_service.h"
32#include "transport.h" 32#include "transport.h"
33 33
34#define VERBOSE GNUNET_YES 34#define VERBOSE GNUNET_NO
35 35
36#define VERBOSE_ARM GNUNET_NO 36#define VERBOSE_ARM GNUNET_NO
37 37
@@ -247,6 +247,9 @@ setTransportOptions(char * filename)
247#if VERBOSE_TRANSPORT 247#if VERBOSE_TRANSPORT
248 GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "DEBUG", "YES"); 248 GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "DEBUG", "YES");
249 GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "PREFIX", "xterm -e xterm -T transport -e gdb --args"); 249 GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "PREFIX", "xterm -e xterm -T transport -e gdb --args");
250#else
251 GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "DEBUG", "NO");
252 GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "PREFIX", "");
250#endif 253#endif
251 254
252 GNUNET_CONFIGURATION_write(tempcfg, filename); 255 GNUNET_CONFIGURATION_write(tempcfg, filename);