Add support for ignoring tests by prefixing their name with an underscore.
This commit is contained in:
		
							parent
							
								
									6758d515f1
								
							
						
					
					
						commit
						0f90fa2c7e
					
				| @ -48,7 +48,12 @@ while read -r test_group; do | ||||
|         fi | ||||
|         set -e | ||||
|     done <<<"$(find "$test_group" -maxdepth 1 -mindepth 1 -type f -name '*.json' | sort)" | ||||
| done <<<"$(find "$DIR/test_cases" -maxdepth 1 -mindepth 1 -type d | sort)" | ||||
| done <<<"$(find "$DIR/test_cases" -maxdepth 1 -mindepth 1 -type d ! -name '_*' | sort)" | ||||
| 
 | ||||
| ignored_count=$(find "$DIR/test_cases" -maxdepth 1 -mindepth 1 -type d -name '_*' | wc -l) | ||||
| 
 | ||||
| echo "" | ||||
| echo "$ignored_count ignored tests" | ||||
| 
 | ||||
| if [ $failed_count -ne 0 ]; then | ||||
|     echo "$failed_count failed tests" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander