swift/.unittests

11 lines
161 B
Bash
Executable File

#!/bin/bash
TOP_DIR=$(dirname $(realpath "$0"))
cd $TOP_DIR/test/unit
pytest --cov-report=html:"$TOP_DIR"/cover $@
rvalue=$?
rm -f .coverage
cd -
exit $rvalue