annotate tests/0013/run-test.sh @ 497:9d8aee621afb api-inversion

More libtests fixups. Include audiodb_close() calls everywhere (whoops). Add the facility to run tests under valgrind. Unfortunately the error-exitcode flag doesn't actually cause an error exit if the only thing wrong is memory leaks, but it will if there are actual memory errors, which is a start.
author mas01cr
date Sat, 10 Jan 2009 16:07:43 +0000
parents e64a2e7f543c
children
rev   line source
mas01cr@87 1 #! /bin/bash
mas01cr@87 2
mas01cr@87 3 . ../test-utils.sh
mas01cr@87 4
mas01cr@87 5 start_server ${AUDIODB} 10013
mas01cr@87 6
mas01cr@87 7 check_server $!
mas01cr@87 8
mas01cr@87 9 stop_server $!
mas01cr@87 10
mas01cr@87 11 exit 104