Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/install_and_test.sh')
-rwxr-xr-xtools/install_and_test.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/install_and_test.sh b/tools/install_and_test.sh
deleted file mode 100755
index 819f683aa..000000000
--- a/tools/install_and_test.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh -e
-# pip installs the requested packages in editable mode and runs unit tests on
-# them. Each package is installed and tested in the order they are provided
-# before the script moves on to the next package. If CERTBOT_NO_PIN is set not
-# set to 1, packages are installed using pinned versions of all of our
-# dependencies. See pip_install.sh for more information on the versions pinned
-# to.
-
-if [ "$CERTBOT_NO_PIN" = 1 ]; then
- pip_install="pip install -q -e"
-else
- pip_install="$(dirname $0)/pip_install_editable.sh"
-fi
-
-temp_cwd=$(mktemp -d)
-trap "rm -rf $temp_cwd" EXIT
-
-set -x
-for requirement in "$@" ; do
- $pip_install $requirement
- pkg=$(echo $requirement | cut -f1 -d\[) # remove any extras such as [dev]
- pkg=$(echo "$pkg" | tr - _ ) # convert package names to Python import names
- if [ $pkg = "." ]; then
- pkg="certbot"
- fi
- cd "$temp_cwd"
- pytest --numprocesses auto --quiet --pyargs $pkg
- cd -
-done