]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add sqlite3 tests
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 9 Apr 2019 13:20:10 +0000 (15:20 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 6 May 2019 09:46:50 +0000 (11:46 +0200)
.circleci/config.yml

index f83d8a47f53841f2884f0d21d8e98a4c6dad47f2..4571e7bb6d6d0e384f05308d006b4ac9836d97c1 100644 (file)
@@ -124,6 +124,7 @@ commands:
               git \
               libboost-all-dev \
               libssl-dev \
+              libsqlite3-dev \
               libtool \
               make \
               pkg-config \
@@ -229,7 +230,7 @@ jobs:
             CXXFLAGS="-O1 -Werror=vla" \
             ./configure \
               --disable-lua-records \
-              --with-modules='bind gmysql godbc random' \
+              --with-modules='bind gmysql gsqlite3 godbc random' \
               --enable-tools \
               --prefix=/opt/pdns-auth
       - run:
@@ -334,6 +335,24 @@ jobs:
           context: godbc_mssql-nsec3-narrow
           skip: 8bit-txt-unescaped
 
+  test-auth-regress-gsqlite3:
+    docker:
+      - image: debian:stretch
+    steps:
+      - auth-regress-setup
+      - run:
+          command: apt-get install -qq -y sqlite3
+      - auth-regress:
+          context: gsqlite3-nodnssec-both
+      - auth-regress:
+          context: gsqlite3-both
+      - auth-regress:
+          context: gsqlite3-nsec3-both
+      - auth-regress:
+          context: gsqlite3-nsec3-optout-both
+      - auth-regress:
+          context: gsqlite3-nsec3-narrow
+
   test-auth-regress-gmysql:
     docker:
       - image: debian:stretch
@@ -510,6 +529,9 @@ workflows:
       - test-auth-regress-gmysql:
           requires:
             - build-auth
+      - test-auth-regress-gsqlite3:
+          requires:
+            - build-auth
 
       - build-recursor
       - test-recursor-regression: