aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_confparse.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-24 10:00:47 +1000
committerteor <teor@torproject.org>2019-10-24 10:00:47 +1000
commit20606b8a15483b1709dac48fd44f758e292607b8 (patch)
tree74aec1e696fe6e5eb32e7a8d8251d812e4541865 /src/test/test_confparse.c
parent9586ae178a38436e07278f141801208c04b37191 (diff)
parent931a5db2a7ded73ddd72cb6646b506d49782f3ec (diff)
downloadtor-20606b8a15483b1709dac48fd44f758e292607b8.tar.gz
tor-20606b8a15483b1709dac48fd44f758e292607b8.zip
Merge remote-tracking branch 'tor-github/pr/1447'
Diffstat (limited to 'src/test/test_confparse.c')
-rw-r--r--src/test/test_confparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_confparse.c b/src/test/test_confparse.c
index 890c95d1c4..6702f34391 100644
--- a/src/test/test_confparse.c
+++ b/src/test/test_confparse.c
@@ -1034,12 +1034,14 @@ test_confparse_find_option_name(void *arg)
config_mgr_free(mgr);
}
+#ifndef COCCI
#define CONFPARSE_TEST(name, flags) \
{ #name, test_confparse_ ## name, flags, NULL, NULL }
#define BADVAL_TEST(name) \
{ "badval_" #name, test_confparse_assign_badval, 0, \
&passthrough_setup, (void*)&bv_ ## name }
+#endif /* !defined(COCCI) */
struct testcase_t confparse_tests[] = {
CONFPARSE_TEST(init, 0),