From 7c55c0c00c761144e618868325f081771f6eb74e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 30 Oct 2024 04:51:06 +0300 Subject: testsuite: added --valgrind option for running SciTECO under Valgrind (memcheck) * Any memory error will let the test case fail with code 66. * You can also call make check TESTSUITEFLAGS="--valgrind" * There is no program test for Valgrind in configure.ac for the time being. `valgrind` must be in $PATH. * All CI testsuite runs under Ubuntu are now with Valgrind. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d42585a..c8a81ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: build-essential autoconf automake libtool libglib2.0-dev libncurses-dev libgtk-3-dev xvfb - groff doxygen + groff doxygen valgrind - name: Configure Build run: | @@ -45,7 +45,7 @@ jobs: # NOTE: The test suite must be run in verbose mode because if it fails # we won't be able to analyze testsuite.log. - name: Run Test Suite - run: xvfb-run -a make check TESTSUITEFLAGS="--verbose" + run: xvfb-run -a make check TESTSUITEFLAGS="--verbose --valgrind" - name: Build Developer Documentation run: cd doc && make devdoc - name: make distcheck -- cgit v1.2.3