From 617b56c0ec3d7f20a6e28be5ead4f5796e18faaf Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 29 Aug 2011 16:23:47 +0100 Subject: Add helper script for running automated tests. --- check | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 check (limited to 'check') diff --git a/check b/check new file mode 100755 index 00000000..ffe64dda --- /dev/null +++ b/check @@ -0,0 +1,24 @@ +#!/bin/sh +# Copyright 2011 Lars Wirzenius +# +# This program 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 3 of the License, or +# (at your option) any later version. +# +# This program 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 this program. If not, see . + + +set -e + + +python setup.py clean +python setup.py build_ext -i +rm -rf build +python setup.py check "$@" -- cgit v1.2.1