Mercurial > dropbear
view fuzzers_test.sh @ 1889:fc4c9ef61856
Split CPPFLAGS and CFLAGS more carefully
This has no change to the build, but makes it easier to try
other build tools that only want CPPFLAGS
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 22 Mar 2022 16:17:05 +0800 |
parents | fd00aeff38fd |
children |
line wrap: on
line source
#!/bin/sh # runs fuzz corpus with standalone fuzzers result=0 test -d fuzzcorpus && hg --repository fuzzcorpus/ pull || hg clone https://hg.ucc.asn.au/dropbear-fuzzcorpus fuzzcorpus || exit 1 for f in `make list-fuzz-targets`; do # use xargs to split the too-long argument list # -q quiet because travis has a logfile limit echo fuzzcorpus/$f/* | xargs -n 1000 ./$f -q || result=1 done exit $result