https://gitlab.com/tezos/tezos
Raw File
Tip revision: dd3a30f89106383821fa6392e789fbd5ba886470 authored by Killian Delarue on 05 February 2024, 16:47:05 UTC
Merge branch 'v19-release' into latest-release
Tip revision: dd3a30f
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