[pacman-dev] [PATCH 3/4] tap.py: add skip_all function

Andrew Gregory andrew.gregory.8 at gmail.com
Sun Dec 23 06:24:40 UTC 2018


Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 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
-- 
2.19.2


More information about the pacman-dev mailing list