History log of /netbsd-current/usr.bin/make/unit-tests/suff-rebuild.exp
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.8 28-Dec-2021 rillig

make: make debug logging a bit more human-friendly

The previous log format "ParseReadLine (%d): '%s'" focused on the
implementation, it was not immediately obvious to a casual reader that
the number in parentheses was the line number. Additionally, having
both a colon and quotes in a log message is uncommon. The quotes have
been added in parse.c 1.127 from 2007-01-01.

The new log format "Parsing line %d: %s" is meant to be easier readable
by humans. The quotes are not needed since ParseReadLine always strips
trailing whitespace, leaving no room for ambiguities. The other log
messages follow common punctuation rules, which makes the beginning of
the line equally unambiguous. Before var.c 1.911 from 2021-04-05,
variable assignments were logged with the format "%s:%s = %s", without a
space after the colon.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.7 04-Apr-2021 rillig

make: remove filler word 'Do' from function names for parsing

No functional change, except for debug logging.


# 1.6 22-Nov-2020 rillig

make(1): add more debugging for searching transformation rules


# 1.5 21-Nov-2020 rillig

make(1): add explanation for test suff-rebuild


# 1.4 21-Nov-2020 rillig

make(1): add more debug logging for suffix handling

One notable thing is that there is no debug output when adding a
transformation rule like ".c.o", which means that these rules don't end
up in the global allTargets variable.

This may or may not be intentional. It seems not intentional since this
is one of the causes for the suff-rebuild test to behave unexpectedly.


# 1.3 21-Nov-2020 rillig

make(1): enable debug logging for test suff-rebuild

As long as it is not clear why this test fails, it's better to have the
debug log available, both for reading it and for getting notified if
any behavior in this area changes.


# 1.2 21-Nov-2020 rillig

make(1): make output of test suff-rebuild more verbose


# 1.1 25-Sep-2020 rillig

make(1): add test for deleting the suffixes during parsing


# 1.7 04-Apr-2021 rillig

make: remove filler word 'Do' from function names for parsing

No functional change, except for debug logging.


# 1.6 22-Nov-2020 rillig

make(1): add more debugging for searching transformation rules


# 1.5 21-Nov-2020 rillig

make(1): add explanation for test suff-rebuild


# 1.4 21-Nov-2020 rillig

make(1): add more debug logging for suffix handling

One notable thing is that there is no debug output when adding a
transformation rule like ".c.o", which means that these rules don't end
up in the global allTargets variable.

This may or may not be intentional. It seems not intentional since this
is one of the causes for the suff-rebuild test to behave unexpectedly.


# 1.3 21-Nov-2020 rillig

make(1): enable debug logging for test suff-rebuild

As long as it is not clear why this test fails, it's better to have the
debug log available, both for reading it and for getting notified if
any behavior in this area changes.


# 1.2 21-Nov-2020 rillig

make(1): make output of test suff-rebuild more verbose


# 1.1 25-Sep-2020 rillig

make(1): add test for deleting the suffixes during parsing


# 1.6 22-Nov-2020 rillig

make(1): add more debugging for searching transformation rules


# 1.5 21-Nov-2020 rillig

make(1): add explanation for test suff-rebuild


# 1.4 21-Nov-2020 rillig

make(1): add more debug logging for suffix handling

One notable thing is that there is no debug output when adding a
transformation rule like ".c.o", which means that these rules don't end
up in the global allTargets variable.

This may or may not be intentional. It seems not intentional since this
is one of the causes for the suff-rebuild test to behave unexpectedly.


# 1.3 21-Nov-2020 rillig

make(1): enable debug logging for test suff-rebuild

As long as it is not clear why this test fails, it's better to have the
debug log available, both for reading it and for getting notified if
any behavior in this area changes.


# 1.2 21-Nov-2020 rillig

make(1): make output of test suff-rebuild more verbose


# 1.1 25-Sep-2020 rillig

make(1): add test for deleting the suffixes during parsing


# 1.5 21-Nov-2020 rillig

make(1): add explanation for test suff-rebuild


# 1.4 21-Nov-2020 rillig

make(1): add more debug logging for suffix handling

One notable thing is that there is no debug output when adding a
transformation rule like ".c.o", which means that these rules don't end
up in the global allTargets variable.

This may or may not be intentional. It seems not intentional since this
is one of the causes for the suff-rebuild test to behave unexpectedly.


# 1.3 21-Nov-2020 rillig

make(1): enable debug logging for test suff-rebuild

As long as it is not clear why this test fails, it's better to have the
debug log available, both for reading it and for getting notified if
any behavior in this area changes.


# 1.2 21-Nov-2020 rillig

make(1): make output of test suff-rebuild more verbose


# 1.1 25-Sep-2020 rillig

make(1): add test for deleting the suffixes during parsing