lokinet/contrib/ci/drone-run-router-hive.sh
2020-07-02 11:13:30 -04:00

7 lines
242 B
Bash
Executable File

#!/usr/bin/env bash
export PYTHONPATH=pybind
rm -f crash.out.txt exit.out.txt
gdb -q -x $(readlink -e $(dirname $0))/gdb-filter.py --args /usr/bin/python3 -m pytest ../test/
test -e crash.out.txt && cat crash.out.txt
exit $(cat exit.out.txt)