From 4c0df5be84fc27c52d99576fc82ea88f0385eef1 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 10 Mar 2019 11:32:11 +0100 Subject: tests: Prepare for using valgrind. tests/*.sh: Invoke all test programs through ${CHECKER}. tests/*/*.sh: Likewise. --- tests/test-fprintf-posix3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-fprintf-posix3.sh') diff --git a/tests/test-fprintf-posix3.sh b/tests/test-fprintf-posix3.sh index d9cbce9638..351d375942 100755 --- a/tests/test-fprintf-posix3.sh +++ b/tests/test-fprintf-posix3.sh @@ -2,7 +2,7 @@ # Test against a memory leak. -(./test-fprintf-posix3${EXEEXT} 0 +(${CHECKER} ./test-fprintf-posix3${EXEEXT} 0 result=$? if test $result != 77 && test $result != 78; then result=1; fi exit $result @@ -13,7 +13,7 @@ if test $malloc_result = 77; then exit 77 fi -./test-fprintf-posix3${EXEEXT} 1 > /dev/null +${CHECKER} ./test-fprintf-posix3${EXEEXT} 1 > /dev/null result=$? if test $result = 77; then echo "Skipping test: no way to determine address space size" -- cgit v1.2.1