mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
f75280ac9c
* 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
15 lines
301 B
Bash
Executable File
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
|