Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2018-12-22 22:24:40 -0800
committerAllan McRae <allan@archlinux.org>2019-01-04 11:10:37 +1000
commitecac357c1a20f3e09ae979397e5efd225b03f895 (patch)
treef9a1f495cd685168af12677d9b08736ad4c0885c /test
parentd150b9719000ccafb39e8560120bb4f690ba8b50 (diff)
tap.py: add skip_all function
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test')
-rw-r--r--test/pacman/tap.py5
1 files changed, 5 insertions, 0 deletions
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 @@ failed = 0
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