FRET-LibAFL/scripts/check_tested_fuzzers.sh
Addison Crump fd364d15fe
cargo-fuzz testing (#2081)
* Build cargo-fuzz end to end

* Workaroudn failing CI

* Fix toml

* Build

* Exclude from workspace

* Fix version

* Fix workspace

* Fix workspace

* FIx workspace

* Fix path

* Set path correctly

* Install llvm-tools

* Test with distro llvm installed

* Use build

* complete

* remove from includes

* add back fuzzer tests, format

* add test for whether all fuzzers are actually tested in pipeline

* whoops

* I hate CI I hate CI I hate CI

* revert removal of llvm

* sh compatibility

* sigh

---------

Co-authored-by: Max Ammann <max@maxammann.org>
2024-04-19 23:55:28 +02:00

18 lines
476 B
Bash
Executable File

#!/bin/bash
ret=0
while read -r fuzzdir; do
if ! grep -qa "$fuzzdir" .github/workflows/build_and_test.yml; then
ret=1
echo "Missing fuzzer ${fuzzdir} in CI tests!"
fi
if grep -qa "# - $fuzzdir" .github/workflows/build_and_test.yml; then
echo "Fuzzer ${fuzzdir} is explicitly ignored"
fi
done < <(
find ./fuzzers -mindepth 1 -maxdepth 1 -type d
find ./fuzzers/backtrace_baby_fuzzers -mindepth 1 -maxdepth 1 -type d
)
exit $ret