freebsd-src/unit-tests/export-all.mk
Simon J. Gerraty 302da1a3d3 Import bmake-20201101
Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py
2020-11-07 19:39:21 +00:00

25 lines
462 B
Makefile

# $NetBSD: export-all.mk,v 1.5 2020/10/24 08:50:17 rillig Exp $
UT_OK= good
UT_F= fine
# the old way to do :tA
M_tAbad= C,.*,cd & \&\& 'pwd',:sh
# the new
M_tA= tA
here := ${.PARSEDIR}
# this will cause trouble (recursing if we let it)
UT_BADDIR= ${${here}/../${here:T}:L:${M_tAbad}:T}
# this will be ok
UT_OKDIR= ${${here}/../${here:T}:L:${M_tA}:T}
.export
FILTER_CMD= grep ^UT_
.include "export.mk"
UT_TEST= export-all
UT_ALL= even this gets exported