Mercurial > hg > sonic-annotator
comparison tests/test-summaries/test-summaries.sh @ 209:382d49862393
Minor output update
| author | Chris Cannam |
|---|---|
| date | Wed, 04 Nov 2015 11:11:31 +0000 |
| parents | 11a9ce2fa331 |
| children | a0d093495a1f |
comparison
equal
deleted
inserted
replaced
| 208:c17b184c16db | 209:382d49862393 |
|---|---|
| 76 | 76 |
| 77 rapper -i turtle $tmpfile -o turtle 2>/dev/null | grep -v '^@prefix :' | grep -v 'file:/' > $tmpcanonical || | 77 rapper -i turtle $tmpfile -o turtle 2>/dev/null | grep -v '^@prefix :' | grep -v 'file:/' > $tmpcanonical || |
| 78 fail "Fails to produce parseable RDF/TTL for transform $stransform" | 78 fail "Fails to produce parseable RDF/TTL for transform $stransform" |
| 79 | 79 |
| 80 rapper -i turtle ${sexpected}.n3 -o turtle 2>/dev/null | grep -v '^@prefix :' | grep -v 'file:/' > $expcanonical || | 80 rapper -i turtle ${sexpected}.n3 -o turtle 2>/dev/null | grep -v '^@prefix :' | grep -v 'file:/' > $expcanonical || |
| 81 fail "Internal error: Failed to canonicalise expected output file $expected.n3" | 81 fail "Internal error: Failed to canonicalise expected output file $sexpected.n3" |
| 82 | 82 |
| 83 compare $tmpcanonical $expcanonical || \ | 83 compare $tmpcanonical $expcanonical || \ |
| 84 faildiff "Output mismatch for canonicalised version of transform $stransform" $tmpcanonical $expcanonical | 84 faildiff "Output mismatch against expected $sexpected.n3 for canonicalised version of transform $stransform" $tmpcanonical $expcanonical |
| 85 | 85 |
| 86 exit 0 | 86 exit 0 |
| 87 | 87 |
