From 0180a027cbc9725ae13023ddfdb8079f147864c5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 16 Feb 2013 09:36:07 +1100 Subject: subunit: Add a sh macro for skipping a test Reviewed-by: Stefan Metzmacher --- testprogs/blackbox/subunit.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testprogs') diff --git a/testprogs/blackbox/subunit.sh b/testprogs/blackbox/subunit.sh index 9b047a2d5d..3ed08826ee 100755 --- a/testprogs/blackbox/subunit.sh +++ b/testprogs/blackbox/subunit.sh @@ -54,6 +54,16 @@ subunit_error_test () { echo "]" } +subunit_skip_test () { + # emit the current protocol skip-marker for test $1, and emit stdin as + # the error text. + # we use stdin because the failure message can be arbitrarily long, and this + # makes it convenient to write in scripts (using <