make: add cov recipe
This commit is contained in:
parent
924d6c44ac
commit
fc96f3408f
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue