]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: Build and run the unit tests in Circle CI
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 13 Dec 2019 10:04:48 +0000 (11:04 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Feb 2020 09:28:25 +0000 (10:28 +0100)
.circleci/config.yml

index 21c78ea4c08174a728318fde4d1f1c16743d4478..b0eada001cf3d7ba4935302ee7ab4c23716f2130 100644 (file)
@@ -529,6 +529,8 @@ jobs:
               --with-modules='bind lmdb ldap gmysql gsqlite3 gpgsql godbc random tinydns lua2' \
               --enable-systemd \
               --enable-tools \
+              --enable-unit-tests \
+              --enable-backend-unit-tests \
               --with-lmdb=/usr \
               --with-libsodium \
               --prefix=/opt/pdns-auth \
@@ -538,6 +540,9 @@ jobs:
           command: make -j3 -k
       - save-ccache-cache:
           product: auth
+      - run:
+          name: Run unit tests
+          command: make check || (cat test-suite.log; false)
       - run:
           name: Install the binaries
           command: make install