https://gitlab.com/tezos/tezos
Raw File
Tip revision: 8e84f9630a9049f2a0fe934fdcc6f5ee483e7b18 authored by Gauthier SEBILLE on 16 October 2023, 10:16:43 UTC
RBT: generic reset_block_section for baking_profiler
Tip revision: 8e84f96
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