You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
catcli/tests.sh

27 lines
472 B
Bash

#!/bin/sh
# author: deadc0de6 (https://github.com/deadc0de6)
# Copyright (c) 2017, deadc0de6
cur=$(dirname "$(readlink -f "${0}")")
# stop on first error
set -ev
pycodestyle --ignore=W605 catcli/
pycodestyle tests/
pyflakes catcli/
pyflakes tests/
nosebin="nosetests"
PYTHONPATH=catcli ${nosebin} -s --with-coverage --cover-package=catcli
#PYTHONPATH=catcli ${nosebin} -s
for t in ${cur}/tests-ng/*; do
echo "running test \"`basename ${t}`\""
${t}
done
exit 0