8 echo "** onak binary doesn't exist, cannot run test suite" >&2
16 for t in libkeydb_*.so; do
17 backend=${t##libkeydb_}
18 backend=${backend%%.so}
19 if [ "`echo t/$backend-*`" != "t/$backend-*" ]; then
20 echo "* testing $backend backend"
21 (sed -e "s;DIR;`pwd`;" t/test-in.conf ; \
22 echo db_backend $backend) > t/test.conf
23 for t in t/$backend-*.t t/all-*.t; do
24 total=`expr $total + 1`
26 if ! $t $backend; then
27 echo "test $t failed" >&2
36 if [ "$fail" -gt 0 ]; then
37 echo "** failed $fail/$total tests" >&2
40 echo "** all tests succeeded"