]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github: enable pool debugging by default
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 16:58:46 +0000 (17:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 17:14:49 +0000 (18:14 +0100)
This enables DEBUG_MEMORY_POOLS and DEBUG_POOL_INTEGRITY so that by
default the tests run under stricter checks, which are likely to
catch more bugs. Note that these ones are permanently used in prod
on haproxy.org.

.github/workflows/compliance.yml
.github/workflows/vtest.yml
.github/workflows/windows.yml

index 75f3cdab00f99e5d366e34419ff6e972d8bd5b09..148ea286694f5cad41766be7cfb070959ade0cfc 100644 (file)
@@ -33,7 +33,7 @@ jobs:
           ERR=1 \
           TARGET=${{ matrix.TARGET }} \
           CC=${{ matrix.CC }} \
-          DEBUG=-DDEBUG_STRICT=1 \
+          DEBUG="-DDEBUG_STRICT -DDEBUG_MEMORY_POOLS -DDEBUG_POOL_INTEGRITY" \
           USE_OPENSSL=1
         sudo make install
     - name: Show HAProxy version
index ac516054bc5e0d82f8b0e5dcd44c86c0d5444399..a9e86b6a221642cd030b5e0eee45bd1d03290744 100644 (file)
@@ -107,7 +107,7 @@ jobs:
           ERR=1 \
           TARGET=${{ matrix.TARGET }} \
           CC=${{ matrix.CC }} \
-          DEBUG=-DDEBUG_STRICT=1 \
+          DEBUG="-DDEBUG_STRICT -DDEBUG_MEMORY_POOLS -DDEBUG_POOL_INTEGRITY" \
           ${{ join(matrix.FLAGS, ' ') }} \
           ADDLIB="-Wl,-rpath,/usr/local/lib/ -Wl,-rpath,$HOME/opt/lib/"
         sudo make install
index 4d14d4817bd05b10e6db2003d93e5a50aa804455..de9a00fd66728b6f3bdb3abdfe7ba86442d74121 100644 (file)
@@ -58,7 +58,7 @@ jobs:
           ERR=1 \
           TARGET=${{ matrix.TARGET }} \
           CC=${{ matrix.CC }} \
-          DEBUG=-DDEBUG_STRICT=1 \
+          DEBUG="-DDEBUG_STRICT -DDEBUG_MEMORY_POOLS -DDEBUG_POOL_INTEGRITY" \
           ${{ join(matrix.FLAGS, ' ') }}
     - name: Show HAProxy version
       id: show-version