diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-02-12 13:34:09 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-02-12 13:34:09 +0200 |
commit | c05a8ca265bd70b1c0fa2003c0159d3691b1b6a5 (patch) | |
tree | 49233dc18a8ff67ae56b071546d2422759027164 /check | |
parent | 379388673da6e6fb867d957b81e0733b6efd60e6 (diff) | |
download | genbackupdata-c05a8ca265bd70b1c0fa2003c0159d3691b1b6a5.tar.gz |
Move rest of "make check" into ./check
Diffstat (limited to 'check')
-rwxr-xr-x | check | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -2,6 +2,16 @@ set -eu +# Run unit tests. +python -m CoverageTestRunner --ignore-missing-from without-tests +rm -f .coverage + + + +# Run yarn. + +# We need to set PYTHONPATH so that yarnstep.py is found in the +# IMPLEMENTS when yarn runs them. if env | grep '^PYTHONPATH=' > /dev/null then PYTHONPATH="$PYTHONPATH:." @@ -11,3 +21,8 @@ fi yarn --env "PYTHONPATH=$PYTHONPATH" \ --shell python2 --shell-arg '' manual.yarn "$@" + + +# Run static Python checking tools. + +pep8 genbackupdata genbackupdatalib |