https://gitlab.com/tezos/tezos
Raw File
Tip revision: c7dc976e3e5a2a3170b2aee4267bd3eece7f249d authored by Emma Turner on 13 October 2023, 15:55:59 UTC
kernels: enforce CC=clang for wasm target
Tip revision: c7dc976
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