freebsd-dev/contrib/bmake/unit-tests/suff-lookup.exp
Simon J. Gerraty 06b9b3e0ad Merge bmake-20210110
Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
  checks in InitObjdir.  Explicit .OBJDIR target always allows
  read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c
2021-01-13 22:21:37 -08:00

72 lines
2.3 KiB
Plaintext

Adding suffix ".c"
Adding suffix ".cc"
Adding suffix ".ccc"
Adding suffix ".short"
Adding suffix ".sho"
Adding suffix ".dead-end"
defining transformation from `.ccc' to `.cc'
inserting ".ccc" (3) at end of list
inserting ".cc" (2) at end of list
transformation .ccc.cc complete
defining transformation from `.c' to `.ccc'
inserting ".c" (1) at end of list
inserting ".ccc" (3) at end of list
transformation .c.ccc complete
defining transformation from `.short' to `.c'
inserting ".short" (4) at end of list
inserting ".c" (1) at end of list
transformation .short.c complete
defining transformation from `.sho' to `.c'
inserting ".sho" (5) at end of list
inserting ".c" (1) at end of list
transformation .sho.c complete
defining transformation from `.dead-end' to `.short'
inserting ".dead-end" (6) at end of list
inserting ".short" (4) at end of list
transformation .dead-end.short complete
Clearing all suffixes
Adding suffix ".c"
Adding suffix ".cc"
Adding suffix ".ccc"
inserting ".ccc" (3) at end of list
inserting ".cc" (2) at end of list
inserting ".c" (1) at end of list
inserting ".ccc" (3) at end of list
Adding suffix ".short"
inserting ".short" (4) at end of list
inserting ".c" (1) at end of list
Adding suffix ".sho"
inserting ".sho" (5) at end of list
inserting ".c" (1) at end of list
Adding suffix ".dead-end"
inserting ".dead-end" (6) at end of list
inserting ".short" (4) at end of list
Wildcard expanding "all"...
SuffFindDeps "all"
No known suffix on all. Using .NULL suffix
adding suffix rules
Wildcard expanding "suff-lookup.cc"...suffix is ".cc"...
SuffFindDeps "suff-lookup.cc"
trying suff-lookup.ccc...not there
trying suff-lookup.c...not there
trying suff-lookup.short...not there
trying suff-lookup.sho...got it
applying .sho -> .c to "suff-lookup.c"
applying .c -> .ccc to "suff-lookup.ccc"
applying .ccc -> .cc to "suff-lookup.cc"
suffix is ".ccc"...
suffix is ".c"...
suffix is ".sho"...
SuffFindDeps "suff-lookup.sho"
suffix is ".sho"...
: 'Making suff-lookup.sho out of nothing.'
: 'Making suff-lookup.c from suff-lookup.sho.'
: 'Making suff-lookup.ccc from suff-lookup.c.'
: 'Making suff-lookup.cc from suff-lookup.ccc.'
Wildcard expanding "all"...
SuffFindDeps ".END"
No known suffix on .END. Using .NULL suffix
adding suffix rules
Wildcard expanding ".END"...
exit status 0