Mercurial > hg > sonic-annotator
diff tests/include.sh @ 204:1f8fef5c6ea2
Add digits option to JAMS output, for number of sig figs
author | Chris Cannam |
---|---|
date | Tue, 03 Nov 2015 11:36:24 +0000 |
parents | 082c3f21f49e |
children | c17b184c16db |
line wrap: on
line diff
--- a/tests/include.sh Tue Nov 03 11:36:00 2015 +0000 +++ b/tests/include.sh Tue Nov 03 11:36:24 2015 +0000 @@ -13,8 +13,8 @@ ;; esac -version=1.2 -nextversion=1.3 +version=1.3 +nextversion=1.4 testdir=$mypath/.. r=$testdir/../sonic-annotator @@ -59,6 +59,12 @@ return $rv } +jsoncompare() { + a="$1" + b="$2" + cmp -s "$a" "$b" +} + faildiff() { echo "Test failed: $1" if [ -n "$2" -a -n "$3" ]; then