Mercurial > hg > audiodb
view tests/0005/run-test.sh @ 397:fb633cac9c3a api-inversion
Don't divide by zero.
This didn't show up in the default build, but if you take out the -O3
my system starts exiting with floating point errors. Neat.
author | mas01cr |
---|---|
date | Thu, 27 Nov 2008 15:19:45 +0000 |
parents | 584ae2c7d026 |
children |
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