mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 06:54:17 +00:00
enable debug tests
This commit is contained in:
6
tests.sh
6
tests.sh
@@ -25,13 +25,13 @@ which ${nosebin} 2>/dev/null
|
|||||||
[ "$?" != "0" ] && echo "Install nosetests" && exit 1
|
[ "$?" != "0" ] && echo "Install nosetests" && exit 1
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# do not print debugs when running tests (faster)
|
|
||||||
export DOTDROP_FORCE_NODEBUG=yes
|
|
||||||
|
|
||||||
# execute tests with coverage
|
# execute tests with coverage
|
||||||
PYTHONPATH=dotdrop ${nosebin} -s --with-coverage --cover-package=dotdrop
|
PYTHONPATH=dotdrop ${nosebin} -s --with-coverage --cover-package=dotdrop
|
||||||
#PYTHONPATH=dotdrop python3 -m pytest tests
|
#PYTHONPATH=dotdrop python3 -m pytest tests
|
||||||
|
|
||||||
|
# do not print debugs when running tests (faster)
|
||||||
|
#export DOTDROP_FORCE_NODEBUG=yes
|
||||||
|
|
||||||
## execute bash script tests
|
## execute bash script tests
|
||||||
[ "$1" = '--python-only' ] || {
|
[ "$1" = '--python-only' ] || {
|
||||||
log=`mktemp`
|
log=`mktemp`
|
||||||
|
|||||||
Reference in New Issue
Block a user