test harness: Print the test name when $skip_test is set.
This commit is contained in:
		
							parent
							
								
									9bdeb4aa4a
								
							
						
					
					
						commit
						c4bb260a30
					
				|  | @ -131,7 +131,11 @@ run_test_internal() { | |||
| 
 | ||||
|     # WARNING: The remainder of this anonymous function will run with the test's options in effect | ||||
| 
 | ||||
|     (( $#skip_test )) && { print -r -- "1..0 # SKIP $skip_test"; return ${RETURN:=0}; } | ||||
|     (( $#skip_test )) && { | ||||
|       print -r -- "1..0 # SKIP $skip_test" | ||||
|       print -r -- "## ${ARG:t:r}" | ||||
|       return ${RETURN:=0} | ||||
|     } | ||||
| 
 | ||||
|     # Check the data declares $PREBUFFER or $BUFFER. | ||||
|     [[ -z $PREBUFFER && -z $BUFFER ]] && { echo >&2 "Bail out! On ${(qq)1}: Either 'PREBUFFER' or 'BUFFER' must be declared and non-blank"; return ${RETURN:=1}; } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue