From: Eric S. Raymond Date: Tue, 4 Apr 2023 13:53:10 +0000 (-0400) Subject: Improve TAP messages slightly. X-Git-Tag: 1.16~42 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=00bdc2133ace5d4e8c79fedb9dc64f14c07d28f7 Improve TAP messages slightly. --- diff --git a/tests/Makefile b/tests/Makefile index 24ec9bf..efa5332 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 diff --git a/tests/oysterbug.log b/tests/oysterbug.log index 58299cc..0337967 100644 --- a/tests/oysterbug.log +++ b/tests/oysterbug.log @@ -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 # SPDX-License-Identifier: BSD-2-Clause #NOCOMPARE This fails due to a known bug in advent430