]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/testrunner.cc
b2b-migrate did not open a transaction, breaking it for lmdb
[thirdparty/pdns.git] / pdns / testrunner.cc
1 #define BOOST_TEST_DYN_LINK
2 #define BOOST_TEST_MAIN
3 #define BOOST_TEST_MODULE unit
4
5 #ifdef HAVE_CONFIG_H
6 #include "config.h"
7 #endif
8 #include <boost/test/unit_test.hpp>
9 #include "arguments.hh"
10 #include "auth-packetcache.hh"
11 #include "auth-querycache.hh"
12 #include "statbag.hh"
13 StatBag S;
14 AuthPacketCache PC;
15 AuthQueryCache QC;
16
17 ArgvMap &arg()
18 {
19 static ArgvMap theArg;
20 return theArg;
21 }