tap.py: add skip_all function
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
d150b97190
commit
ecac357c1a
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ failed = 0
|
||||||
def _output(msg):
|
def _output(msg):
|
||||||
print("%s%s" % (" "*level, str(msg).replace("\n", "\\n")))
|
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=""):
|
def ok(ok, description=""):
|
||||||
global count, failed
|
global count, failed
|
||||||
count += 1
|
count += 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue