File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed
Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1212 sudo apt-get update -y
1313 sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config
1414 sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev libjq-dev check
15+ sudo apt-get install -y valgrind
1516 - name: Configure
1617 run: |
1718 ./autogen.sh
2021 run: make
2122 - name: Test
2223 run: make check || (cat test-suite.log && exit -1)
24+ - name : Valgrind
25+ run: make valgrind
2326 - name: Distcheck
2427 run: make distcheck DESTDIR=/tmp/mod_auth_openidc
Original file line number Diff line number Diff line change 1+ 08/21/2025
2+ - add Valgrind target to Makefile and to Github Build action
3+
1408/20/2025
25- revise test/check and code coverage functions
36- revise autoconf/automake, split over subdirs now
Original file line number Diff line number Diff line change @@ -15,3 +15,6 @@ clang-format:
1515
1616check-code-coverage : check
1717 ${MAKE} -C test $@
18+
19+ valgrind : check
20+ ${MAKE} -C test $@
Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ EXTRA_DIST = \
7272clean-local :
7373 rm -f * .gcno
7474
75+ ${TESTS:% =%.valgrind}: ${TESTS}
76+ CK_FORK=no valgrind --error-exitcode=1 --show-leak-kinds=definite --read-inline-info=yes --keep-debuginfo=yes ./$$(basename $@ .valgrind)
77+
78+ valgrind : ${TESTS:% =% .valgrind}
79+
7580CODE_COVERAGE_LCOV_SHOPTS = --ignore-errors inconsistent --ignore-errors unused
7681
7782@CODE_COVERAGE_RULES@
You can’t perform that action at this time.
0 commit comments