Update the fuzzing harness for API changes.

This commit is contained in:
Dan Gohman
2018-07-20 16:18:52 -07:00
parent dd3a9dab6e
commit 1413a58544
3 changed files with 19 additions and 10 deletions

View File

@@ -75,10 +75,10 @@ if rustup toolchain list | grep -q nightly; then
cargo +nightly install cargo-fuzz
fi
fuzz_module="ffaefab69523eb11935a9b420d58826c8ea65c4c"
fuzz_module="8f0d725b20dcea52335cf521a5bb083833a5241f"
ASAN_OPTIONS=detect_leaks=0 \
cargo +nightly fuzz run fuzz_translate_module \
"$topdir/fuzz/corpus/fuzz_translate_module/$fuzz_module"
cargo +nightly fuzz run compile \
"$topdir/fuzz/corpus/compile/$fuzz_module"
else
echo "nightly toolchain not found, skipping fuzz target integration test"
fi