aboutsummaryrefslogtreecommitdiff
path: root/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/run-tests.sh b/run-tests.sh
deleted file mode 100755
index f10c1b01..00000000
--- a/run-tests.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# exit if any subcommand return non-zero status
-set -e
-
-# Choose python version
-if test "x$1" = x-3; then
- PYTHON=py3
- shift
-elif test "x$1" = x-2; then
- PYTHON=py2
- shift
-fi
-test "x$PYTHON" = x && PYTHON=py
-
-# Find tests
-FILTERS=
-for arg in "$@"; do
- test "x$FILTERS" != x && FILTERS="$FILTERS or "
- FILTERS="$FILTERS$arg"
-done
-
-# Run tests
-if [ -z "$FILTERS" ]; then
- tox --develop -e $PYTHON
-else
- tox --develop -e $PYTHON -- -k "$FILTERS"
-fi