X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=build-scripts%2Ftravis.sh;h=80445cb89485a3e822a29be6e96222ad3b0d564c;hb=3fa6416e63cae325a9c9bfac47c1662e16a0757b;hp=0b64ee5e76245da0e900daa33ac14f9c858288e9;hpb=d85ea3a7ec3b71c0b5fd89df22802219c723eb8b;p=thirdparty%2Fpdns.git diff --git a/build-scripts/travis.sh b/build-scripts/travis.sh index 0b64ee5e76..80445cb894 100755 --- a/build-scripts/travis.sh +++ b/build-scripts/travis.sh @@ -224,11 +224,6 @@ install_auth() { run "sudo apt-get -qq --no-install-recommends install \ liblmdb-dev" - # opendbx-backend - run "sudo apt-get -qq --no-install-recommends install \ - libopendbx1-dev \ - libopendbx1-sqlite3" - # remote-backend build requirements run "sudo apt-get -qq --no-install-recommends install \ libzmq3-dev" @@ -393,7 +388,7 @@ build_auth() { run "autoreconf -vi" run "./configure \ ${sanitizerflags} \ - --with-dynmodules='bind gmysql geoip gpgsql gsqlite3 lmdb lua opendbx pipe random remote tinydns godbc lua2' \ + --with-dynmodules='bind gmysql geoip gpgsql gsqlite3 lmdb pipe random remote tinydns godbc lua2' \ --with-modules='' \ --with-sqlite3 \ --with-libsodium \ @@ -497,8 +492,6 @@ test_auth() { #travis unbound is too old for this test (unbound 1.6.0 required) run "touch tests/ent-asterisk/fail.nsec" - run "./timestamp ./start-test-stop 5300 lua-minimal nowait 0 apex-level-a-but-no-a" - run "./timestamp ./start-test-stop 5300 bind-both" run "./timestamp ./start-test-stop 5300 bind-dnssec-both" run "./timestamp ./start-test-stop 5300 bind-dnssec-nsec3-both" @@ -518,8 +511,11 @@ test_auth() { # run "./timestamp ./start-test-stop 5300 gmysql-nsec3-optout-both" run "./timestamp ./start-test-stop 5300 gmysql-nsec3-narrow" + run "sudo perl -i -pe 's/\]/]\nThreading=1/g' /etc/odbcinst.ini" + run "cat /etc/odbcinst.ini" run "export GODBC_SQLITE3_DSN=pdns-sqlite3-1" - run "./timestamp ./start-test-stop 5300 godbc_sqlite3-nsec3" + # this test is unstable on the library versions in the Travis trusty image + # run "./timestamp ./start-test-stop 5300 godbc_sqlite3-nsec3" run "./timestamp ./start-test-stop 5300 gpgsql-nodnssec-both" run "./timestamp ./start-test-stop 5300 gpgsql-both" @@ -533,8 +529,6 @@ test_auth() { # run "./timestamp ./start-test-stop 5300 gsqlite3-nsec3-optout-both" run "./timestamp ./start-test-stop 5300 gsqlite3-nsec3-narrow" - run "./timestamp ./start-test-stop 5300 opendbx-sqlite3" - run "./timestamp ./start-test-stop 5300 remotebackend-pipe" run "./timestamp ./start-test-stop 5300 remotebackend-pipe-dnssec" #run "./timestamp ./start-test-stop 5300 remotebackend-unix" @@ -553,12 +547,7 @@ test_auth() { run "rm tests/ent-asterisk/fail.nsec" - run "cd ../modules/luabackend/test2" - run "../../../regression-tests/timestamp ./runtest" - - run "cd ../../.." - - run "cd regression-tests.rootzone" + run "cd ../regression-tests.rootzone" run "./timestamp ./start-test-stop 5300 bind-both" run "./timestamp ./start-test-stop 5300 bind-dnssec-both" run "./timestamp ./start-test-stop 5300 bind-dnssec-nsec3-both" @@ -639,7 +628,9 @@ test_recursor() { test_dnsdist(){ run "cd regression-tests.dnsdist" - run "DNSDISTBIN=$HOME/dnsdist/bin/dnsdist ./runtests -v --ignore-files='(?:^\.|^_,|^setup\.py$|^test_DOH\.py$|^test_OCSP\.py$|^test_Prometheus\.py$|^test_TLSSessionResumption\.py$)'" + export SKIP_DOH_TESTS=1 + export SKIP_PROMETHEUS_TESTS=1 + run "DNSDISTBIN=$HOME/dnsdist/bin/dnsdist ./runtests -v --ignore-files='(?:^\.|^_,|^setup\.py$|^test_TLSSessionResumption\.py$)'" run "rm -f ./DNSCryptResolver.cert ./DNSCryptResolver.key" run "cd .." }