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>
Fri, 25 Feb 2022 12:53:38 +0000 (13:53 +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.

(cherry picked from commit a0a6911bdef2dfd908cd1ad1bd074d27f95a252c)
Signed-off-by: Willy Tarreau <w@1wt.eu>

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

index 3ce7178..0c48f52 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 b67090a..9662915 100644 (file)
@@ -79,7 +79,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 42bb4e8..ddb98c3 100644 (file)
@@ -55,7 +55,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