Merge pull request #1132 from letsencrypt/integration-fixes

Integration test fixes
This commit is contained in:
Jeff Hodges 2015-11-11 14:06:16 -08:00
commit bc28021ddb
2 changed files with 3 additions and 4 deletions

View File

@ -127,8 +127,6 @@ function build_letsencrypt() {
run ./venv/bin/pip install -U pip
run ./venv/bin/pip install -e acme -e . -e letsencrypt-apache -e letsencrypt-nginx
source ./venv/bin/activate
cd -
}
@ -261,6 +259,8 @@ if [[ "$RUN" =~ "integration" ]] ; then
build_letsencrypt
fi
source ${LETSENCRYPT_PATH}/venv/bin/activate
python test/integration-test.py --all
case $? in
0) # Success

View File

@ -208,8 +208,7 @@ def run_client_tests():
assert root is not None, (
"Please set LETSENCRYPT_PATH env variable to point at "
"initialized (virtualenv) client repo root")
test_script_path = os.path.join(root, 'tests', 'boulder-integration.sh')
cmd = "SIMPLE_HTTP_PORT=5002 %s" % (test_script_path)
cmd = os.path.join(root, 'tests', 'boulder-integration.sh')
if subprocess.Popen(cmd, shell=True, cwd=root, executable='/bin/bash').wait() != 0:
die(ExitStatus.PythonFailure)