diff tests/0005/run-test.sh @ 49:53616d7dda08

Add a (failing) test for L2NORM
author mas01cr
date Tue, 18 Sep 2007 09:25:10 +0000
parents
children 584ae2c7d026
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/0005/run-test.sh	Tue Sep 18 09:25:10 2007 +0000
@@ -0,0 +1,19 @@
+#! /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
\ No newline at end of file