]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix build of speedtest and make sure it gets built automatically to avoid bitrot
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 13 Jun 2023 09:35:20 +0000 (11:35 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 13 Jun 2023 09:41:20 +0000 (11:41 +0200)
pdns/Makefile.am
pdns/speedtest.cc

index 88229c32a7416c682027be9dbfd8558352037c2d..3424cbc7c958829500b31e6c0c1a99097bc48550 100644 (file)
@@ -1504,8 +1504,10 @@ pdns_control_LDFLAGS = \
        $(AM_LDFLAGS) \
        $(LIBCRYPTO_LDFLAGS)
 
+noinst_PROGRAMS = speedtest
+
 if UNIT_TESTS
-noinst_PROGRAMS = testrunner
+noinst_PROGRAMS += testrunner
 if HAVE_BOOST_GE_148
 TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message SRCDIR='$(srcdir)'
 TESTS=testrunner
index 9c7b5264a1339556e5c702e17cf325913687f7e1..1447080f2c31fbb3224b47aa1a3d4a0db6398656 100644 (file)
@@ -673,7 +673,7 @@ struct ParsePacketTest
       rr.qname=i->first.d_name;
 
       rr.ttl=i->first.d_ttl;
-      rr.content=i->first.d_content->getZoneRepresentation();  // this should be the serialised form
+      rr.content=i->first.getContent()->getZoneRepresentation();  // this should be the serialised form
       lwr.d_result.push_back(rr);
     }