Mailing List Archive

[openssh] 02/02: Run unit tests under valgrind.
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 19e534462710e98737478fd9c44768b50c27c4c6
Author: Darren Tucker <dtucker@dtucker.net>
Date: Thu Apr 8 13:31:08 2021 +1000

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.
---
.github/configs | 3 +++
.github/workflows/c-cpp.yml | 1 +
2 files changed, 4 insertions(+)

diff --git a/.github/configs b/.github/configs
index 87c7a6dc..62dbe879 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 a712af7c..c4ae2843 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 }

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits