]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/export-all.mk
Update to bmake-20201101
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / export-all.mk
1 # $NetBSD: export-all.mk,v 1.5 2020/10/24 08:50:17 rillig Exp $
2
3 UT_OK=  good
4 UT_F=   fine
5
6 # the old way to do :tA
7 M_tAbad=        C,.*,cd & \&\& 'pwd',:sh
8 # the new
9 M_tA=           tA
10
11 here := ${.PARSEDIR}
12
13 # this will cause trouble (recursing if we let it)
14 UT_BADDIR=      ${${here}/../${here:T}:L:${M_tAbad}:T}
15 # this will be ok
16 UT_OKDIR=       ${${here}/../${here:T}:L:${M_tA}:T}
17
18 .export
19
20 FILTER_CMD=     grep ^UT_
21 .include "export.mk"
22
23 UT_TEST=        export-all
24 UT_ALL=         even this gets exported