Files
simdjson-simdjson/scripts/issue150.sh
T
Daniel Lemire f75280ac9c Fix for issue 150 (#162)
* Checks for issue 150. We run through the test files with sanitizers on.

* Fix for issue 150: the remaining issues were an overrun on the depth capacity and an "off-by-1" overrun on tape capacity.

* Improving makefile.

* Safer git submodule command.

* Getting get 'git' on circleci
2019-05-09 20:51:33 -04:00

15 lines
301 B
Bash
Executable File

#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
cd $SCRIPTPATH/..
for i in 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