When these macros aren't defined, the expansions of the NS macros
can get particularly ugly.
#endif
#define NS_MODULE dir
+#define NS_SUBMODULE tests
static networkstatus_t *
networkstatus_parse_vote_from_string_(const char *s,
#endif
#define NS_MODULE dir_handle_get
+#define NS_SUBMODULE tests
#define NOT_FOUND "HTTP/1.0 404 Not found\r\n\r\n"
#define BAD_REQUEST "HTTP/1.0 400 Bad request\r\n\r\n"
#include <sys/param.h>
#endif
-#define NS_MODULE test_options
+#define NS_MODULE opt
+#define NS_SUBMODULE tests
typedef struct {
int severity;
#include "test/test.h"
#include "test/log_test_helpers.h"
+#define NS_MODULE rtr
+#define NS_SUBMODULE tests
+
NS_DECL(const routerinfo_t *, router_get_my_routerinfo, (void));
static routerinfo_t* mock_routerinfo;