From: Otto Moerbeek Date: Tue, 13 Jun 2023 09:35:20 +0000 (+0200) Subject: Fix build of speedtest and make sure it gets built automatically to avoid bitrot X-Git-Tag: rec-5.0.0-alpha1~176^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=efaeb353a9375ddef62f3b03a69cbf776d164fae;p=thirdparty%2Fpdns.git Fix build of speedtest and make sure it gets built automatically to avoid bitrot --- diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 88229c32a7..3424cbc7c9 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -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 diff --git a/pdns/speedtest.cc b/pdns/speedtest.cc index 9c7b5264a1..1447080f2c 100644 --- a/pdns/speedtest.cc +++ b/pdns/speedtest.cc @@ -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); }