]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: build all tools in travis and fix speedtest build 5374/head
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 26 May 2017 20:33:46 +0000 (22:33 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 26 May 2017 20:33:46 +0000 (22:33 +0200)
build-scripts/travis.sh
pdns/speedtest.cc

index cc99ef03a2d8e3413fe048a95999a304e7537938..259a56308e1347837aafa3906faf852273fd32e7 100755 (executable)
@@ -441,7 +441,7 @@ test_auth() {
   run "test -f modules/remotebackend/test-suite.log && cat modules/remotebackend/test-suite.log || true"
 
   #DNSName - make -k -j3 -C pdns $(grep '(EXEEXT):' pdns/Makefile | cut -f1 -d\$ | grep -E -v 'dnsdist|calidns')
-  run 'make -k -j3 -C pdns $(grep "(EXEEXT):" pdns/Makefile | cut -f1 -d\$ | grep -E -v "dnspcap2protobuf|dnsdist|calidns|speedtest")'
+  run 'make -k -j3 -C pdns $(grep "(EXEEXT):" pdns/Makefile | cut -f1 -d\$)'
 
   run "cd pdns"
   run "./pdnsutil test-algorithms"
index c6b35100fda4c2d206067ce696c93a559477ed82..d3a1fc15bd84b539cba55825aea9edc866f0d602 100644 (file)
@@ -265,7 +265,6 @@ vector<uint8_t> makeBigDNSPacketReferral()
   rr.qtype = QType::NS;
   rr.ttl=3600;
   rr.qname=DNSName("com");
-  rr.d_place = DNSResourceRecord::ADDITIONAL;
 
   string gtld="x.gtld-servers.net";
   for(char c='a'; c<= 'm';++c) {
@@ -297,7 +296,7 @@ vector<uint8_t> makeBigDNSPacketReferral()
   DNSPacketWriter pw(packet, DNSName("www.google.com"), QType::A);
   //  shuffle(records);
   for(const auto& rec : records) {
-    pw.startRecord(rec.qname, rec.qtype.getCode(), rec.ttl, 1, rec.d_place);
+    pw.startRecord(rec.qname, rec.qtype.getCode(), rec.ttl, 1, DNSResourceRecord::ADDITIONAL);
     auto drc = DNSRecordContent::mastermake(rec.qtype.getCode(), 1, rec.content);
     drc->toPacket(pw);
     delete drc;
@@ -620,7 +619,6 @@ struct ParsePacketTest
     
       rr.ttl=i->first.d_ttl;
       rr.content=i->first.d_content->getZoneRepresentation();  // this should be the serialised form
-      rr.d_place=(DNSResourceRecord::Place) i->first.d_place;
       lwr.d_result.push_back(rr);
     }