This allows running a single test. The arg function is needed by core stuff...
#include "iputils.hh"
#include "nameserver.hh"
#include "statbag.hh"
-#include "arguments.hh"
#include <utility>
extern vector<ComboAddress> g_localaddresses;
-ArgvMap &arg()
-{
- static ArgvMap theArg;
- return theArg;
-}
-
BOOST_AUTO_TEST_SUITE(nameserver_cc)
BOOST_AUTO_TEST_CASE(test_AddressIsUs4) {
#include "config.h"
#endif
#include <boost/test/unit_test.hpp>
+#include "arguments.hh"
#include "auth-packetcache.hh"
#include "auth-querycache.hh"
#include "statbag.hh"
AuthPacketCache PC;
AuthQueryCache QC;
+ArgvMap &arg()
+{
+ static ArgvMap theArg;
+ return theArg;
+}