Mercurial > hg > sonic-annotator
diff tests/test-summaries.sh @ 102:fae326c22df5
Fix failure to support summary-only flag when reading transforms with summaries from a transform file
author | Chris Cannam |
---|---|
date | Wed, 01 Oct 2014 14:55:17 +0100 |
parents | 52b9d58edb78 |
children | 76d9d86ae6cd |
line wrap: on
line diff
--- a/tests/test-summaries.sh Wed Oct 01 14:54:58 2014 +0100 +++ b/tests/test-summaries.sh Wed Oct 01 14:55:17 2014 +0100 @@ -72,6 +72,12 @@ compare $tmpfile ${sexpected}.csv || \ faildiff "Output mismatch for transform $stransform" $tmpfile ${sexpected}.csv +$r -t $stransform -w csv --csv-stdout --summary-only $infile > $tmpfile 2>/dev/null || \ + fail "Fails to run transform $stransform with CSV output and summary-only" + +compare $tmpfile ${expected}-from-rdf-summaries-only.csv || \ + faildiff "Output mismatch for transform $stransform with summary-only" $tmpfile ${expected}-from-rdf-summaries-only.csv + $r -t $stransform -w rdf --rdf-stdout $infile > $tmpfile 2>/dev/null || \ fail "Fails to run transform $stransform with RDF output"