freebsd-src/unit-tests/opt-version.mk
Simon J. Gerraty 308a28d6cd Import bmake-20220724
Relevant/interesting changes:

	o parse.c: fix out-of-bounds read when parsing an invalid line
        https://bugs.freebsd.org/265119
	fix memory leak in wildcard targets and sources
	fix off-by-one error in buffer for .WAIT nodes
	o allow to randomize build order of targets
	.MAKE.MODE += randomize-targets can help uncover dependency bugs
2022-07-26 08:52:53 -07:00

13 lines
594 B
Makefile

# $NetBSD: opt-version.mk,v 1.2 2022/05/08 07:27:50 rillig Exp $
#
# Tests for the command line option '--version', which may be expected to
# output the version number of make. NetBSD's make does not have a version
# number, but the bmake distribution created from it has.
# As of 2021-12-23, the output is a single empty line since the '--' does not
# end the command line options. Command line parsing then continues as if
# nothing had happened, and the '-version' is split into '-v ersion', which is
# interpreted as "print the expanded variable named 'ersion'".
.MAKEFLAGS: --version