head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.4
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.2
	perseant-exfatfs-base:1.4
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.6
	netbsd-10-base:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.4
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	cjep_staticlib_x:1.1.0.2
	cjep_staticlib_x-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2024.05.07.18.26.22;	author sjg;	state Exp;
branches;
next	1.3;
commitid	LDYVIE53A0Eu469F;

1.3
date	2023.02.25.06.54.08;	author rillig;	state Exp;
branches;
next	1.2;
commitid	kFZ9gbXTJHyvhSeE;

1.2
date	2023.02.25.00.09.52;	author rillig;	state Exp;
branches;
next	1.1;
commitid	4MRYgEzbMebx2QeE;

1.1
date	2020.08.16.12.07.52;	author rillig;	state Exp;
branches;
next	;
commitid	coEgPk3hgfeYGhkC;


desc
@@


1.4
log
@make: all command line overrides go in .MAKEOVERRIDES

Not all variables that start with '.' are internals,
and unless they are explicitly flagged as internal should go
into .MAKEOVERRIDES

Update varname-dot-makeoverrides to check this.

Also avoid using SCOPE_CMDLINE when ReadOnly will do.
@
text
@all: overrides=<>
make -f varname-dot-makeoverrides.mk stage_1 VAR=value
stage_1: overrides=< VAR>
make -f varname-dot-makeoverrides.mk stage_2 .VAR=too
stage_2: overrides=< VAR .VAR>
make -f varname-dot-makeoverrides.mk stage_3
stage_3: overrides=< .VAR VAR>
exit status 0
@


1.3
log
@tests/make: reproduce and explain '$' in MAKEFLAGS

https://mail-index.netbsd.org/current-users/2023/02/24/msg043633.html
@
text
@d4 2
a5 2
make -f varname-dot-makeoverrides.mk stage_2
stage_2: overrides=< VAR>
d7 1
a7 1
stage_3: overrides=< VAR>
@


1.2
log
@tests/make: test how '$' behaves in .MAKEOVERRIDES and MAKEFLAGS
@
text
@d1 7
a7 4
make -r -f varname-dot-makeoverrides.mk dollars_stage_2 DOLLARS='$${varname}'
stage 2: dollars=<${varname}>
make -r -f varname-dot-makeoverrides.mk dollars_stage_3
stage 3: dollars=<>
@


1.1
log
@make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.
@
text
@d1 4
@

