#!/bin/sh

export MYSOFA2JSON=mysofa2json
ext="json.bz2"

res=0

for f in tests/*".${ext}"; do
  x=${f%.${ext}}
  echo "================= ${x} ================="
  if ! ./tests/compare.sh "${x}"; then
    res=1
  fi
done

exit ${res}
