xref: /freebsd/contrib/bmake/unit-tests/opt-debug-hash.mk (revision 8d5c8e21c690b35d0a9a604d6b886fba222cd2fe)
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