Since run_tests.sh utilizes nose to run its tests, the -x, --stop flag works correctly for halting tests on the first failed test. The usage information for run_tests.sh now includes the --stop flag.
This commit is contained in:
		
							
								
								
									
										1
									
								
								Authors
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Authors
									
									
									
									
									
								
							@@ -1,3 +1,4 @@
 | 
			
		||||
Alex Meade <alex.meade@rackspace.com>
 | 
			
		||||
Andy Smith <code@term.ie>
 | 
			
		||||
Andy Southgate <andy.southgate@citrix.com>
 | 
			
		||||
Anne Gentle <anne@openstack.org>
 | 
			
		||||
 
 | 
			
		||||
@@ -6,6 +6,7 @@ function usage {
 | 
			
		||||
  echo ""
 | 
			
		||||
  echo "  -V, --virtual-env        Always use virtualenv.  Install automatically if not present"
 | 
			
		||||
  echo "  -N, --no-virtual-env     Don't use virtualenv.  Run tests in local environment"
 | 
			
		||||
  echo "  -x, --stop               Stop running tests after the first error or failure."
 | 
			
		||||
  echo "  -f, --force              Force a clean re-build of the virtual environment. Useful when dependencies have been added."
 | 
			
		||||
  echo "  -p, --pep8               Just run pep8"
 | 
			
		||||
  echo "  -h, --help               Print this usage message"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user