diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-10-30 04:51:06 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-10-30 14:04:54 +0300 |
commit | 7c55c0c00c761144e618868325f081771f6eb74e (patch) | |
tree | c8fc56ffb517f77787c62629cbbc689490adbcce /tests/testsuite.at | |
parent | 6d882a3fdd5b35181b301a2b1db32908c2b7953a (diff) | |
download | sciteco-7c55c0c00c761144e618868325f081771f6eb74e.tar.gz |
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.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r-- | tests/testsuite.at | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index 01ca664..edf2d3f 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -1,6 +1,9 @@ AT_INIT AT_COLOR_TESTS +AT_ARG_OPTION([valgrind], + AS_HELP_STRING([--valgrind], [Run tests under Valgrind (memcheck)])) + # NOTE: There is currently no way to influence the return # code of SciTECO, except to provoke an error. # Since errors cannot be yielded explicitly, we use the |