view tests/0005/run-test.sh @ 67:e13b4f62b4f5

Improve the test driver a little bit: display a short description file if present, and exit with an error status if any test fails. (Also slightly nicer formatting of incremental progress.)
author mas01cr
date Wed, 26 Sep 2007 14:18:07 +0000
parents 53616d7dda08
children 584ae2c7d026
line wrap: on
line source
#! /bin/bash

. ../test-utils.sh

if [ -f testdb ]; then rm -f testdb; fi

${AUDIODB} -d testdb -N

intstring 2 > testfeature
floatstring 0 1 >> testfeature
floatstring 1 0 >> testfeature

${AUDIODB} -d testdb -I -f testfeature

echo running L2Norm

${AUDIODB} -d testdb -L

exit 104