mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Add test_tests.sh (#3633)
This commit is contained in:
committed by
Peter Eckersley
parent
82ac89b850
commit
91deb6ec53
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh -xe
|
||||
|
||||
MODULES="acme certbot certbot_apache certbot_nginx"
|
||||
VENV_NAME=venv
|
||||
|
||||
# *-auto respects VENV_PATH
|
||||
VENV_PATH=$VENV_NAME letsencrypt/certbot-auto --debug --non-interactive --version
|
||||
. $VENV_NAME/bin/activate
|
||||
|
||||
# change to an empty directory to ensure CWD doesn't affect tests
|
||||
cd $(mktemp -d)
|
||||
pip install nose
|
||||
|
||||
for module in $MODULES ; do
|
||||
echo testing $module
|
||||
nosetests -v $module
|
||||
done
|
||||
Reference in New Issue
Block a user