Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/make/unit-tests



Module Name:    src
Committed By:   sjg
Date:           Thu Feb 23 05:20:45 UTC 2023

Modified Files:
        src/usr.bin/make/unit-tests: Makefile
            varname-dot-make-meta-ignore_filter.exp
            varname-dot-make-meta-ignore_filter.mk
            varname-dot-make-meta-ignore_paths.exp
            varname-dot-make-meta-ignore_paths.mk
            varname-dot-make-meta-ignore_patterns.exp
            varname-dot-make-meta-ignore_patterns.mk

Log Message:
Add unit-tests for .MAKE.META.IGNORE_*

These unit-tests should only be run if TEST_MAKE
has a valid .MAKE.PATH_FILEMON to indicate that filemon is
supported.

All three tests use the same meta-ignore.inc
which runs three sub-makes

one to initialize the target .meta file
two to ignore a file using .MAKE.META.IGNORE_{PATHS,PATTERNS,FILTER}
three to verify that without .MAKE.META.IGNORE_* the target is out of date.

Fix the order of _SED_CMDS to avoid errors when ${MAKE:T} appears in
.OBJDIR


To generate a diff of this commit:
cvs rdiff -u -r1.331 -r1.332 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.1 -r1.2 \
    src/usr.bin/make/unit-tests/varname-dot-make-meta-ignore_filter.exp \
    src/usr.bin/make/unit-tests/varname-dot-make-meta-ignore_paths.exp \
    src/usr.bin/make/unit-tests/varname-dot-make-meta-ignore_patterns.exp
cvs rdiff -u -r1.2 -r1.3 \
    src/usr.bin/make/unit-tests/varname-dot-make-meta-ignore_filter.mk \
    src/usr.bin/make/unit-tests/varname-dot-make-meta-ignore_paths.mk \
    src/usr.bin/make/unit-tests/varname-dot-make-meta-ignore_patterns.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index