xref: /freebsd/contrib/bmake/unit-tests/opt-debug-hash.mk (revision b59017c5cad90d0f09a59e68c00457b7faf93e7c)
1# $NetBSD: opt-debug-hash.mk,v 1.5 2024/05/31 07:13:12 rillig Exp $
2#
3# Tests for the -dh command line option, which adds debug logging for
4# hash tables.  Even more detailed logging is available by compiling
5# make with -DDEBUG_HASH_LOOKUP.
6
7.MAKEFLAGS: -dh
8
9# Force a parse error, to demonstrate the newline character in the "cannot
10# continue" diagnostic that had been missing before parse.c 1.655 from
11# 2022-01-22.
12# expect+1: Missing argument for ".error"
13.error
14