Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/suff-lookup.exp
RevisionDateAuthorComments
 1.6  22-Nov-2020  rillig make(1): add more debugging for searching transformation rules
 1.5  21-Nov-2020  rillig make(1): add more debug logging for suffixes

The "Removing suffix" is not covered by the current tests. It would be
best if that code were unreachable at all, since a reference count of -1
doesn't make sense.
 1.4  21-Nov-2020  rillig make(1): add debug logging when adding a suffix to the global list
 1.3  25-Oct-2020  rillig make(1): properly terminate debug output with newline

Without this, NetBSD's sed adds the missing newline at the end of the
file, while other sed implementations don't do that.
 1.2  24-Oct-2020  rillig make(1): extend test suff-lookup.mk

This test ensures that FindSuffByName behaves correctly.

In order to convert some char pointers to const char pointers, there
needs to be FindSuffByNameLen, and to make sure that this function
actually uses the given length, this test has the suffixes ".sho" and
".short". Without the proper string comparison in FindSuffByNameLen,
the suffix ".short" might be found when searching for ".sho".
 1.1  24-Oct-2020  rillig make(1): add test for looking up suffixes

RSS XML Feed