diff options
author | Till Maas <opensource@till.name> | 2014-02-14 19:27:04 +0100 |
---|---|---|
committer | Till Maas <opensource@till.name> | 2014-02-14 19:27:04 +0100 |
commit | 81aaf9409a83e35550705416425eb4aa6f806e05 (patch) | |
tree | 899d4578da1e0d30d6b21dd0b9237a38b72f70d4 | |
parent | 86ab6c15a1a881fc58fa97892818869ad22cd614 (diff) | |
download | cnucnu-81aaf9409a83e35550705416425eb4aa6f806e05.tar.gz cnucnu-81aaf9409a83e35550705416425eb4aa6f806e05.tar.xz cnucnu-81aaf9409a83e35550705416425eb4aa6f806e05.zip |
Add check target instead of using shell wrapper
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | runtests.sh | 22 | ||||
-rw-r--r-- | setup-env.sh | 10 |
3 files changed, 3 insertions, 32 deletions
@@ -10,4 +10,7 @@ view: html check-doc: epydoc --check cnucnu/ +check: + py.test + FORCE: diff --git a/runtests.sh b/runtests.sh deleted file mode 100755 index a8656e4..0000000 --- a/runtests.sh +++ /dev/null @@ -1,22 +0,0 @@ -#! /bin/bash -# vim: foldmethod=marker -#{{{ License header: GPLv2+ -# This file is part of cnucnu. -# -# Cnucnu is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# Cnucnu is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with cnucnu. If not, see <http://www.gnu.org/licenses/>. -#}}} - -. setup-env.sh - -py.test diff --git a/setup-env.sh b/setup-env.sh deleted file mode 100644 index bbe291a..0000000 --- a/setup-env.sh +++ /dev/null @@ -1,10 +0,0 @@ -if test -z "${BASH_SOURCE%*/*}" -then - CNUCNU_BASEDIR="${BASH_SOURCE%/*}" -else - CNUCNU_BASEDIR="." -fi - -export PYTHONPATH=${CNUCNU_BASEDIR:-${PWD}} - -#echo "new PYTHONPATH: ${PYTHONPATH}" |