https://gitlab.com/tezos/tezos
Raw File
Tip revision: 799b8a7ad4b33256b7f584c63d99f36d59b54290 authored by Thomas Letan on 17 May 2023, 21:33:16 UTC
Debugger: Commit before loading inputs
Tip revision: 799b8a7
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