From: Willy Tarreau Date: Wed, 23 Feb 2022 16:58:46 +0000 (+0100) Subject: CI: github: enable pool debugging by default X-Git-Tag: v2.5.4~2 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=5122ccc4a0c145e3be8c4149a68800af3a362187;p=haproxy-2.5.git CI: github: enable pool debugging by default 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 --- diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 3ce7178..0c48f52 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -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 diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index b67090a..9662915 100644 --- a/.github/workflows/vtest.yml +++ b/.github/workflows/vtest.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 42bb4e8..ddb98c3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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