Improve TAP messages slightly.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 4 Apr 2023 13:53:10 +0000 (09:53 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 4 Apr 2023 13:53:10 +0000 (09:53 -0400)
tests/Makefile
tests/oysterbug.log

index 24ec9bfcb3c43311a1fadb292dbe26f931f7e6d3..efa5332eef220f9ef7d16806f25eb03f7c28d761 100644 (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
index 58299cce7ba3817c3e3e0fc4b2bb3d561f3ca51c..033796768a445ee23381ed9549495dfe07e3a68a 100644 (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