mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Run several instances of solfuzzer in parallel
This commit is contained in:
parent
30820dda99
commit
3216e5d846
@ -392,26 +392,9 @@ SOLTMPDIR=$(mktemp -d)
|
||||
cd "$SOLTMPDIR"
|
||||
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
|
||||
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/docs/ docs
|
||||
for f in *.sol
|
||||
do
|
||||
set +e
|
||||
"$REPO_ROOT"/build/test/tools/solfuzzer --quiet < "$f"
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
printError "Fuzzer failed on:"
|
||||
cat "$f"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
"$REPO_ROOT"/build/test/tools/solfuzzer --without-optimizer --quiet < "$f"
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
printError "Fuzzer (without optimizer) failed on:"
|
||||
cat "$f"
|
||||
exit 1
|
||||
fi
|
||||
set -e
|
||||
done
|
||||
echo *.sol | xargs -P 4 -n 50 "$REPO_ROOT"/build/test/tools/solfuzzer --quiet --input-files
|
||||
echo *.sol | xargs -P 4 -n 50 "$REPO_ROOT"/build/test/tools/solfuzzer --without-optimizer --quiet --input-files
|
||||
)
|
||||
rm -rf "$SOLTMPDIR"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user