xref: /freebsd/contrib/bmake/unit-tests/opt-debug-hash.mk (revision 02e9120893770924227138ba49df1edb3896112a)
1# $NetBSD: opt-debug-hash.mk,v 1.4 2023/06/01 20:56:35 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 diagnostic
10# that had been missing before parse.c 1.655 from 2022-01-22.
11# expect+1: Missing argument for ".error"
12.error
13