view tests/0005/run-test.sh @ 169:cdd441dcc9a8

Better error detection (and messages) on invalid feature files Factor out commonality of dealing with the input file (in audioDB::initTables and audioDB::batchinsert) into initInputFile(); call it appropriately.
author mas01cr
date Thu, 08 Nov 2007 14:18:47 +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