https://gitlab.com/tezos/tezos
Raw File
Tip revision: 7dcf16fba343f1bb8349b3ea45caf6ebe1f9feff authored by Alain Mebsout on 16 September 2022, 20:41:33 UTC
Merge branch 'alain@functori@benchmarks-scope-fixes' into alain@5444_base
Tip revision: 7dcf16f
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 "-------------------------------"

"$@"
back to top