head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.16
	perseant-exfatfs-base:1.2
	cjep_sun2x:1.2.0.14
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.12
	cjep_staticlib_x-base:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	netbsd-7-2-RELEASE:1.1
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.1
	pgoyette-compat:1.2.0.10
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.1
	perseant-stdc-iso10646:1.2.0.8
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.6
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.1.0.18
	netbsd-7-1-RELEASE:1.1
	netbsd-7-1-RC2:1.1
	netbsd-7-nhusb-base-20170116:1.1
	bouyer-socketcan:1.2.0.4
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.1
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.1
	localcount-20160914:1.2
	netbsd-7-nhusb:1.1.0.16
	netbsd-7-nhusb-base:1.1
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.2
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.1
	netbsd-7-0:1.1.0.14
	netbsd-7-0-RELEASE:1.1
	netbsd-7-0-RC3:1.1
	netbsd-7-0-RC2:1.1
	netbsd-7-0-RC1:1.1
	netbsd-7:1.1.0.12
	netbsd-7-base:1.1
	yamt-pagecache:1.1.0.10
	yamt-pagecache-base9:1.1
	tls-earlyentropy:1.1.0.8
	tls-earlyentropy-base:1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1
	riastradh-drm2-base3:1.1
	riastradh-drm2-base2:1.1
	riastradh-drm2-base1:1.1
	riastradh-drm2:1.1.0.6
	riastradh-drm2-base:1.1
	tls-maxphys-base:1.1
	tls-maxphys:1.1.0.4
	agc-symver:1.1.0.2
	agc-symver-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2014.08.21.13.44.51;	author apb;	state dead;
branches;
next	1.1;
commitid	PNRbDMs9XSDHweNx;

1.1
date	2013.03.22.16.36.46;	author sjg;	state Exp;
branches
	1.1.4.1
	1.1.10.1;
next	;

1.1.4.1
date	2013.03.22.16.36.46;	author tls;	state dead;
branches;
next	1.1.4.2;
commitid	OnlO1cBgtQRcIHUw;

1.1.4.2
date	2013.06.23.06.29.01;	author tls;	state Exp;
branches;
next	;
commitid	OnlO1cBgtQRcIHUw;

1.1.10.1
date	2013.03.22.16.36.46;	author yamt;	state dead;
branches;
next	1.1.10.2;
commitid	cG7DCbrDdiE9MwBx;

1.1.10.2
date	2014.05.22.11.42.46;	author yamt;	state Exp;
branches;
next	;
commitid	cG7DCbrDdiE9MwBx;


desc
@@


1.2
log
@Give each group of tests its own output file.

* Rename each sub-makefile to *.mk;
* Add a *.exp file of expected output for each sub-makefile;
* Remove test.exp, which is replaced by all the other *.exp files.
* Use suffix rules to generate *.rawout and *.out files for
  each test case.
* Rewrite the test and accept targets to adapt to the new way.

The old (now removed) test.exp file is almost identical to the
concatenation (in the correct order) of all the new *.exp files.  There
are expected differences in makefile names embedded in the output, and
the new "exit status" lines.  Some old "*** Error code 1 (ignored)"
lines are also removed (replaced by new "exit status 1" lines).
@
text
@# $Id: export-env,v 1.1 2013/03/22 16:36:46 sjg Exp $

# our normal .export, subsequent changes affect the environment
UT_TEST=this
.export UT_TEST
UT_TEST:= ${.PARSEFILE}

# not so with .export-env
UT_ENV=exported
.export-env UT_ENV
UT_ENV=not-exported

# gmake style export goes further; affects nothing but the environment
UT_EXP=before-export
export UT_EXP=exported
UT_EXP=not-exported

all:
	@@echo make:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=${$v};@@}
	@@echo env:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=$${$v};@@}




@


1.1
log
@Add unit-test for export-env and gmake export
@
text
@d1 1
a1 1
# $Id$
@


1.1.10.1
log
@file export-env was added on branch yamt-pagecache on 2014-05-22 11:42:46 +0000
@
text
@d1 24
@


1.1.10.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 24
# $Id$

# our normal .export, subsequent changes affect the environment
UT_TEST=this
.export UT_TEST
UT_TEST:= ${.PARSEFILE}

# not so with .export-env
UT_ENV=exported
.export-env UT_ENV
UT_ENV=not-exported

# gmake style export goes further; affects nothing but the environment
UT_EXP=before-export
export UT_EXP=exported
UT_EXP=not-exported

all:
	@@echo make:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=${$v};@@}
	@@echo env:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=$${$v};@@}




@


1.1.4.1
log
@file export-env was added on branch tls-maxphys on 2013-06-23 06:29:01 +0000
@
text
@d1 24
@


1.1.4.2
log
@resync from head
@
text
@a0 24
# $Id$

# our normal .export, subsequent changes affect the environment
UT_TEST=this
.export UT_TEST
UT_TEST:= ${.PARSEFILE}

# not so with .export-env
UT_ENV=exported
.export-env UT_ENV
UT_ENV=not-exported

# gmake style export goes further; affects nothing but the environment
UT_EXP=before-export
export UT_EXP=exported
UT_EXP=not-exported

all:
	@@echo make:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=${$v};@@}
	@@echo env:; ${UT_TEST UT_ENV UT_EXP:L:@@v@@echo $v=$${$v};@@}




@


