Files
simdjson-simdjson/tests/issue150.sh
T
John Keiser ceb1def55c Add quicktests, slowtests to cmake
- Also add testjson2json.sh
- Move test scripts to tests directory to consolidate concerns
2020-04-09 14:21:45 -07:00

14 lines
298 B
Bash
Executable File

#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
for i in $SCRIPTPATH/../jsonchecker/adversarial/issue150/*.json ; do
echo $i;
./allparserscheckfile -m $i;
if [ $? -ne 0 ];
then echo "potential bug";
exit 1
fi;
done
echo "Code is probably ok. All parsers agree."
exit 0