make: add cov recipe

This commit is contained in:
Noah Hellman 2023-02-02 16:01:01 +01:00
parent 924d6c44ac
commit fc96f3408f

View file

@ -25,6 +25,9 @@ bench:
ln -fs ../modules/djot.js/bench/$$f benches/$$f; \ ln -fs ../modules/djot.js/bench/$$f benches/$$f; \
done done
cov: suite suite_bench
LLVM_COV=llvm-cov LLVM_PROFDATA=llvm-profdata cargo llvm-cov --features=suite,suite_bench --workspace --html --ignore-run-fail
AFL_TARGET?=gen AFL_TARGET?=gen
AFL_JOBS?=1 AFL_JOBS?=1
AFL_TARGET_CRASH?=crashes AFL_TARGET_CRASH?=crashes