Improve TAP messages slightly.

This commit is contained in:
Eric S. Raymond 2023-04-04 09:53:10 -04:00
parent 20e1b9d930
commit 00bdc2133a
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ RUN_TARGETS=$(TESTLOADS:%=run-regress-%)
$(RUN_TARGETS): run-regress-%: %.log
@(test=$(<:.log=); legend=$$(sed -n '/^## /s///p' <"$<" 2>/dev/null || echo "(no description)"); \
OPTS=`sed -n /#options:/s///p $<`; \
$(advent) $$OPTS <$< | tapdiffer "$<: $${legend}" "$${test}.chk")
$(advent) $$OPTS <$< | tapdiffer "$${test}: $${legend}" "$${test}.chk")
multifile-regress:
@(echo "inven" | advent issue36.log /dev/stdin) | tapdiffer "multifile: multiple-file test" multifile.chk

View file

@ -1,4 +1,4 @@
# Demonstrate fix of buggy response to unlocking oyster while carrying it.
## Demonstrate fix of buggy response to unlocking oyster while carrying it.
# SPDX-FileCopyrightText: Eric S. Raymond <esr@thyrsus.com>
# SPDX-License-Identifier: BSD-2-Clause
#NOCOMPARE This fails due to a known bug in advent430