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