comparison tests/dfa-match.sh @ 40221:8c1a17df67e0

tests: Prepare for using valgrind. tests/*.sh: Invoke all test programs through ${CHECKER}. tests/*/*.sh: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 10 Mar 2019 11:32:11 +0100
parents b06060465f09
children
comparison
equal deleted inserted replaced
40220:2796695e9216 40221:8c1a17df67e0
31 timeout_10= 31 timeout_10=
32 fi 32 fi
33 33
34 fail=0 34 fail=0
35 35
36 dfa-match-aux a ba 0 > out || fail=1 36 ${CHECKER} dfa-match-aux a ba 0 > out || fail=1
37 compare /dev/null out || fail=1 37 compare /dev/null out || fail=1
38 38
39 in=$(printf "bb\nbb") 39 in=$(printf "bb\nbb")
40 $timeout_10 dfa-match-aux a "$in" 1 > out || fail=1 40 $timeout_10 ${CHECKER} dfa-match-aux a "$in" 1 > out || fail=1
41 compare /dev/null out || fail=1 41 compare /dev/null out || fail=1
42 42
43 Exit $fail 43 Exit $fail