From ecac357c1a20f3e09ae979397e5efd225b03f895 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 22 Dec 2018 22:24:40 -0800 Subject: tap.py: add skip_all function Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/tap.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/pacman/tap.py b/test/pacman/tap.py index 6a3bee0d..eb0747be 100644 --- a/test/pacman/tap.py +++ b/test/pacman/tap.py @@ -21,6 +21,11 @@ def _output(msg): print("%s%s" % (" "*level, str(msg).replace("\n", "\\n"))) +def skip_all(description=""): + if description: + description = " # " + description + _output("1..0%s" % (description)) + def ok(ok, description=""): global count, failed count += 1 -- cgit v1.2.3-54-g00ecf