Files
7980b6a0d371c97dd3a381d6cd645d8b19f7dcb7
swift /.unittests
Tim Burke ef155bd74a Switch to pytest
nose has not seen active development for many years now. With py310, we
can no longer use it due to import errors.
Also update lower contraints
Closes-Bug: #1993531
Change-Id: I215ba0d4654c9c637c3b97953d8659ac80892db8
2022年12月09日 11:38:02 -08:00

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