diff tests/test-transforms-basic.sh @ 51:c30b9720bde0

Add proper support and tests for window type parameter (requires latest update to Vamp host SDK)
author Chris Cannam
date Tue, 21 Jun 2011 15:41:52 +0100
parents 94d988cef54e
children 43d788236ed1
line wrap: on
line diff
--- a/tests/test-transforms-basic.sh	Wed Jun 15 15:39:08 2011 +0100
+++ b/tests/test-transforms-basic.sh	Tue Jun 21 15:41:52 2011 +0100
@@ -28,6 +28,9 @@
     -set-parameters \
     -set-step-and-block-size \
     -set-sample-rate \
+    -df-windowtype-default \
+    -df-windowtype-hanning \
+    -df-windowtype-hamming \
     ; do
 
     for type in xml n3 ; do 
@@ -36,10 +39,10 @@
 	expected=$mypath/expected/transforms-basic-percussiononsets$suffix.csv
 
 	test -f $transform || \
-	    fail "Internal error: no transforms file for suffix $suffix"
+	    fail "Internal error: no transforms file for suffix $suffix (looking for $transform)"
 
 	test -f $expected || \
-	    fail "Internal error: no expected output file for suffix $suffix"
+	    fail "Internal error: no expected output file for suffix $suffix (looking for $expected)"
 
 	$r -t $transform -w csv --csv-stdout $infile > $tmpfile2 2>/dev/null || \
 	    fail "Fails to run transform $transform"