Revision cfa98afd460deb65517ed396b1f40bc665263a9c authored by Alain Mebsout on 08 December 2022, 23:32:55 UTC, committed by Alain Mebsout on 08 December 2022, 23:32:55 UTC
1 parent ceda555
with_coverage.sh
#!/bin/sh
set -e
BISECT_FILE=$(pwd)/_coverage_output/
export BISECT_FILE
export DUNE_INSTRUMENT_WITH=bisect_ppx
if [ -z "$1" ]; then
echo "Missing command to run, example:"
echo "${0} dune runtest src/lib_shell"
exit 1
fi
echo "Running $* with:"
echo "BISECT_FILE=${BISECT_FILE}"
echo "DUNE_INSTRUMENT_WITH=bisect_ppx"
echo "-------------------------------"
"$@"
Computing file changes ...