Files
libjson/test.sh
Bronson Graansma 7c4cf8d4d3 first commit
2018-08-07 13:57:09 -04:00

11 lines
243 B
Bash

#!/bin/sh
for file in tests/*.json; do
./libjsontest $file > testout/got/$file
if cmp --silent testout/got/$file testout/exp/$file; then
echo "\033[0;32m$file\033[0m"
else
echo "\033[0;31m$file\033[0m"
fi
done