From 00bdc2133ace5d4e8c79fedb9dc64f14c07d28f7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 4 Apr 2023 09:53:10 -0400 Subject: [PATCH] Improve TAP messages slightly. --- tests/Makefile | 2 +- tests/oysterbug.log | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.31.1