Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Tue Oct 20 20:36:53 UTC 2020

Modified Files:
        src/distrib/sets/lists/tests: mi
        src/tests/usr.bin/make: t_make.sh
        src/usr.bin/make/unit-tests: Makefile
Added Files:
        src/usr.bin/make/unit-tests: suff-add-later.exp suff-add-later.mk
            suff-clear-regular.exp suff-clear-regular.mk suff-clear-single.exp
            suff-clear-single.mk suff-transform-endless.exp
            suff-transform-endless.mk suff-transform-expand.exp
            suff-transform-expand.mk suff-transform-select.exp
            suff-transform-select.mk
Removed Files:
        src/usr.bin/make/unit-tests: suffixes.exp suffixes.mk

Log Message:
make(1): split test suffixes.mk into simpler, isolated tests

The code in suff.c is already hard to understand, and so were the tests
in suffixes.mk since several independent topics were merged into a
single test.

Splitting this test into a separate test per issue allows to document
the expected and actual behavior in more detail.  That's complicated
enough already.

PR bin/49086


To generate a diff of this commit:
cvs rdiff -u -r1.943 -r1.944 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.11 -r1.12 src/tests/usr.bin/make/t_make.sh
cvs rdiff -u -r1.168 -r1.169 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/suff-add-later.exp \
    src/usr.bin/make/unit-tests/suff-add-later.mk \
    src/usr.bin/make/unit-tests/suff-clear-regular.exp \
    src/usr.bin/make/unit-tests/suff-clear-regular.mk \
    src/usr.bin/make/unit-tests/suff-clear-single.exp \
    src/usr.bin/make/unit-tests/suff-clear-single.mk \
    src/usr.bin/make/unit-tests/suff-transform-endless.exp \
    src/usr.bin/make/unit-tests/suff-transform-endless.mk \
    src/usr.bin/make/unit-tests/suff-transform-expand.exp \
    src/usr.bin/make/unit-tests/suff-transform-expand.mk \
    src/usr.bin/make/unit-tests/suff-transform-select.exp \
    src/usr.bin/make/unit-tests/suff-transform-select.mk
cvs rdiff -u -r1.1 -r0 src/usr.bin/make/unit-tests/suffixes.exp
cvs rdiff -u -r1.3 -r0 src/usr.bin/make/unit-tests/suffixes.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