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

25 lines
461 B
Bash

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