run.sh 296 Bytes
Newer Older
1
2
3
4
5
6
MAKEDIR="$(dirname "$0")"

LDPRELOAD=$(make depend -C "${MAKEDIR}")

source ${MAKEDIR}/env.sh

7
python3 -m pytest -q tests/test_runner.py "$@"
8
9
10
11
12
13
14
15

RETVAL=$?

if [[ $RETVAL -eq 4 && "$@" =~ .*-n.* ]]
then
    echo "Running on multiple cores failed. Is pytest-xdist module installed?"
fi

16
exit $RETVAL