annotate tests/test.sh @ 59:52b9d58edb78

Ensure expected output (as well as test output) gets canonicalised before comparison. The test in question still fails -- I think now only because of plugin output ordering changes (prior to svcore rev f3fd2988fc9b it also had picked up some incorrect output feature types)
author Chris Cannam
date Mon, 09 Jan 2012 16:30:44 +0000
parents 9cc5e78dcfbd
children d78c80be335f
rev   line source
Chris@0 1 #!/bin/bash
Chris@0 2
Chris@0 3 mypath=`dirname $0`
Chris@0 4
Chris@0 5 for x in \
Chris@0 6 supportprogs \
Chris@0 7 helpfulflags \
Chris@0 8 transforms-basic \
Chris@0 9 audioformat \
Chris@0 10 as-advertised \
Chris@0 11 rdf-writer \
Chris@0 12 rdf-destinations \
Chris@43 13 csv-destinations \
Chris@0 14 summaries \
Chris@0 15 ; do
Chris@0 16
Chris@0 17 echo -n "$x: "
Chris@0 18 if bash $mypath/test-$x.sh; then
Chris@0 19 echo test succeeded
Chris@0 20 else
Chris@0 21 echo "*** Test FAILED"
Chris@0 22 exit 1
Chris@0 23 fi
Chris@0 24
Chris@0 25 done
Chris@0 26