From 18a64400617259b34ccf014682fd8022d551a036 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 28 Jun 2019 06:43:32 -0400 Subject: meson: remove tap-driver.py, use meson's TAP protocol This includes a patch from Andrew to fix pactest's TAP output for subtests. Original TAP support in meson was added in 0.50, but 0.51 contains a bugfix that ensures the test still work with the --verbose flag passed to meson test, so let's depend on that. --- test/pacman/tap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/pacman/tap.py') diff --git a/test/pacman/tap.py b/test/pacman/tap.py index eb0747be..8a32b3ac 100644 --- a/test/pacman/tap.py +++ b/test/pacman/tap.py @@ -19,7 +19,8 @@ level = 0 failed = 0 def _output(msg): - print("%s%s" % (" "*level, str(msg).replace("\n", "\\n"))) + leader = "#" if level > 0 else "" + print("%s%s%s" % (leader, " "*level, str(msg).replace("\n", "\\n"))) def skip_all(description=""): if description: -- cgit v1.2.3-24-g4f1b