Merge pull request #1132 from letsencrypt/integration-fixes
Integration test fixes
This commit is contained in:
		
						commit
						bc28021ddb
					
				
							
								
								
									
										4
									
								
								test.sh
								
								
								
								
							
							
						
						
									
										4
									
								
								test.sh
								
								
								
								
							|  | @ -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 | ||||
|  |  | |||
|  | @ -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) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue