diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2018-12-22 22:24:40 -0800 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-04 11:10:37 +1000 |
commit | ecac357c1a20f3e09ae979397e5efd225b03f895 (patch) | |
tree | f9a1f495cd685168af12677d9b08736ad4c0885c | |
parent | d150b9719000ccafb39e8560120bb4f690ba8b50 (diff) | |
download | pacman-ecac357c1a20f3e09ae979397e5efd225b03f895.tar.xz |
tap.py: add skip_all function
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | test/pacman/tap.py | 5 |
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 |