diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-09 10:58:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:32:13 -0400 |
commit | 4fad456148738712e48582b22496e6baf0dfc1f8 (patch) | |
tree | d45921ddfad5d61485a7e3bc0bedb35376de108f /src/test/test_dir.c | |
parent | 6696a5bbae4bd21f84a5b0730273fd847b8f0e45 (diff) | |
download | tor-4fad456148738712e48582b22496e6baf0dfc1f8.tar.gz tor-4fad456148738712e48582b22496e6baf0dfc1f8.zip |
test: Hide some test-declaration macro definitions to COCCI.
(These ones cause parsing failures.)
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r-- | src/test/test_dir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index 17d6db1e4d..bdcd785451 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -7210,6 +7210,7 @@ test_dir_format_versions_list(void *arg) teardown_capture_of_logs(); } +#ifndef COCCI #define DIR_LEGACY(name) \ { #name, test_dir_ ## name , TT_FORK, NULL, NULL } @@ -7219,6 +7220,7 @@ test_dir_format_versions_list(void *arg) /* where arg is a string constant */ #define DIR_ARG(name,flags,arg) \ { #name "_" arg, test_dir_##name, (flags), &passthrough_setup, (void*) arg } +#endif struct testcase_t dir_tests[] = { DIR_LEGACY(nicknames), |