From: Darren Tucker Date: Thu, 8 Apr 2021 03:31:08 +0000 (+1000) Subject: Run unit tests under valgrind. X-Git-Tag: V_8_6_P1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e534462710e98737478fd9c44768b50c27c4c6;p=thirdparty%2Fopenssh-portable.git Run unit tests under valgrind. Run a separate build for the unit tests under Valgrind. They take long enough that running in parallel with the other Valgrind tests helps. --- diff --git a/.github/configs b/.github/configs index 87c7a6dc2..62dbe8795 100755 --- a/.github/configs +++ b/.github/configs @@ -84,6 +84,9 @@ case "$config" in valgrind-4) LTESTS="${tests4}" ;; + valgrind-unit) + TEST_TARGET="unit USE_VALGRIND=1" + ;; esac ;; *) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index a712af7c2..c4ae28434 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -22,6 +22,7 @@ jobs: - { os: ubuntu-20.04, configs: valgrind-2 } - { os: ubuntu-20.04, configs: valgrind-3 } - { os: ubuntu-20.04, configs: valgrind-4 } + - { os: ubuntu-20.04, configs: valgrind-unit } - { os: ubuntu-20.04, configs: pam } - { os: ubuntu-20.04, configs: kitchensink } - { os: ubuntu-20.04, configs: hardenedmalloc }