From 1152052b3e27e3252f6685a369fce8a426710015 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 29 Jul 2013 15:22:07 -0400 Subject: convert pactest to TAP output Each test produces a single TAP result with the rules run in a sub-test. This reduces output when run under automake and makes it possible to continue setting expectfailure at the test level rather than per-rule. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/pacman/util.py') diff --git a/test/pacman/util.py b/test/pacman/util.py index 65540ed3..14035d76 100644 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -21,6 +21,8 @@ import os import re import hashlib +import tap + SELFPATH = os.path.abspath(os.path.dirname(__file__)) # ALPM @@ -43,7 +45,7 @@ verbose = 0 def vprint(msg): if verbose: - print msg + tap.diag(msg) # # Methods to generate files -- cgit v1.2.3