diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-06 01:12:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-06 01:12:57 +0000 |
commit | 9fac6b6eefdc9144053f736fd388cb2199a97046 (patch) | |
tree | 82740a981b7f6ae973d915aa77797acd9db668b2 /src/peerinfo/test_peerinfo_api.c | |
parent | 23d8d343d5c70481ecf78ec4fafc698907f3e8a9 (diff) | |
download | gnunet-9fac6b6eefdc9144053f736fd388cb2199a97046.tar.gz gnunet-9fac6b6eefdc9144053f736fd388cb2199a97046.zip |
-removing legacy ifdefs, fixing log statements
Diffstat (limited to 'src/peerinfo/test_peerinfo_api.c')
-rw-r--r-- | src/peerinfo/test_peerinfo_api.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/peerinfo/test_peerinfo_api.c b/src/peerinfo/test_peerinfo_api.c index e4eb7d480..ebb12b505 100644 --- a/src/peerinfo/test_peerinfo_api.c +++ b/src/peerinfo/test_peerinfo_api.c | |||
@@ -170,9 +170,6 @@ check () | |||
170 | char *const argv[] = { "test-peerinfo-api", | 170 | char *const argv[] = { "test-peerinfo-api", |
171 | "-c", | 171 | "-c", |
172 | "test_peerinfo_api_data.conf", | 172 | "test_peerinfo_api_data.conf", |
173 | #if DEBUG_PEERINFO | ||
174 | "-L", "DEBUG", | ||
175 | #endif | ||
176 | NULL | 173 | NULL |
177 | }; | 174 | }; |
178 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 175 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
@@ -181,9 +178,6 @@ check () | |||
181 | proc = | 178 | proc = |
182 | GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-peerinfo", | 179 | GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-peerinfo", |
183 | "gnunet-service-peerinfo", | 180 | "gnunet-service-peerinfo", |
184 | #if DEBUG_PEERINFO | ||
185 | "-L", "DEBUG", | ||
186 | #endif | ||
187 | "-c", "test_peerinfo_api_data.conf", NULL); | 181 | "-c", "test_peerinfo_api_data.conf", NULL); |
188 | GNUNET_assert (NULL != proc); | 182 | GNUNET_assert (NULL != proc); |
189 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, | 183 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, |
@@ -206,11 +200,7 @@ main (int argc, char *argv[]) | |||
206 | int ret = 0; | 200 | int ret = 0; |
207 | 201 | ||
208 | GNUNET_log_setup ("test_peerinfo_api", | 202 | GNUNET_log_setup ("test_peerinfo_api", |
209 | #if DEBUG_PEERINFO | ||
210 | "DEBUG", | ||
211 | #else | ||
212 | "WARNING", | 203 | "WARNING", |
213 | #endif | ||
214 | NULL); | 204 | NULL); |
215 | ret = check (); | 205 | ret = check (); |
216 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-peerinfo"); | 206 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-peerinfo"); |