https://gitlab.com/tezos/tezos
Raw File
Tip revision: 2905bdc373ff20f3b84c619851c0b293c4ecb67b authored by saroupille on 22 March 2024, 12:42:04 UTC
Tezt_cloud: Initial commit introducing the library
Tip revision: 2905bdc
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