History log of /netbsd-current/usr.bin/make/unit-tests/opt-debug-graph2.exp
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 04-Jul-2024 rillig

make: on error, print the targets to be made

This helps to understand situations with several nested sub-makes in
varying directories.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.8 07-May-2024 sjg

make: all command line overrides go in .MAKEOVERRIDES

Not all variables that start with '.' are internals,
and unless they are explicitly flagged as internal should go
into .MAKEOVERRIDES

Update varname-dot-makeoverrides to check this.

Also avoid using SCOPE_CMDLINE when ReadOnly will do.


# 1.7 09-Sep-2023 sjg

Add .MAKE.JOBS.C to indicate wether -jC is supported


# 1.6 24-Jan-2023 sjg

make: .SYSPATH: to add dirs to sysIncPath

.SYSPATH: with no sources will clear sysIncPath
otherwise sources are added

Reviewed by: rillig


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.5 26-Mar-2022 rillig

make: avoid trailing whitespace in debug log for variables

Since trailing whitespace is invisible, describe the variable value in
words to make it visible.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 02-Feb-2021 rillig

make: remove overengineered Enum_ValueToString

For printing the status of a GNode, there was already made_name (now
renamed to GNodeMade_Name), which prints user-friendly text instead of
the bare enum constant names.

To do this change confidently, I first had to demonstrate that the
output really affects something other than just the word "UNMADE". There
had not been a test for that case before, and the test immediately
discovered a bug in the -dg2 and -dg3 options. This bug is one of the
oldest in make, dating back to at least 1993.


# 1.3 02-Feb-2021 rillig

make: when exiting due to an error, print graph information

The code now does what the manual page has been promising since at least
1993.


# 1.2 02-Feb-2021 rillig

make: demonstrate that neither -dg2 nor -dg3 produces debug output


# 1.1 05-Sep-2020 rillig

make(1): add tests for each debug option


# 1.8 07-May-2024 sjg

make: all command line overrides go in .MAKEOVERRIDES

Not all variables that start with '.' are internals,
and unless they are explicitly flagged as internal should go
into .MAKEOVERRIDES

Update varname-dot-makeoverrides to check this.

Also avoid using SCOPE_CMDLINE when ReadOnly will do.


# 1.7 09-Sep-2023 sjg

Add .MAKE.JOBS.C to indicate wether -jC is supported


# 1.6 24-Jan-2023 sjg

make: .SYSPATH: to add dirs to sysIncPath

.SYSPATH: with no sources will clear sysIncPath
otherwise sources are added

Reviewed by: rillig


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.5 26-Mar-2022 rillig

make: avoid trailing whitespace in debug log for variables

Since trailing whitespace is invisible, describe the variable value in
words to make it visible.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 02-Feb-2021 rillig

make: remove overengineered Enum_ValueToString

For printing the status of a GNode, there was already made_name (now
renamed to GNodeMade_Name), which prints user-friendly text instead of
the bare enum constant names.

To do this change confidently, I first had to demonstrate that the
output really affects something other than just the word "UNMADE". There
had not been a test for that case before, and the test immediately
discovered a bug in the -dg2 and -dg3 options. This bug is one of the
oldest in make, dating back to at least 1993.


# 1.3 02-Feb-2021 rillig

make: when exiting due to an error, print graph information

The code now does what the manual page has been promising since at least
1993.


# 1.2 02-Feb-2021 rillig

make: demonstrate that neither -dg2 nor -dg3 produces debug output


# 1.1 05-Sep-2020 rillig

make(1): add tests for each debug option


# 1.7 09-Sep-2023 sjg

Add .MAKE.JOBS.C to indicate wether -jC is supported


# 1.6 24-Jan-2023 sjg

make: .SYSPATH: to add dirs to sysIncPath

.SYSPATH: with no sources will clear sysIncPath
otherwise sources are added

Reviewed by: rillig


Revision tags: netbsd-10-base
# 1.5 26-Mar-2022 rillig

make: avoid trailing whitespace in debug log for variables

Since trailing whitespace is invisible, describe the variable value in
words to make it visible.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 02-Feb-2021 rillig

make: remove overengineered Enum_ValueToString

For printing the status of a GNode, there was already made_name (now
renamed to GNodeMade_Name), which prints user-friendly text instead of
the bare enum constant names.

To do this change confidently, I first had to demonstrate that the
output really affects something other than just the word "UNMADE". There
had not been a test for that case before, and the test immediately
discovered a bug in the -dg2 and -dg3 options. This bug is one of the
oldest in make, dating back to at least 1993.


# 1.3 02-Feb-2021 rillig

make: when exiting due to an error, print graph information

The code now does what the manual page has been promising since at least
1993.


# 1.2 02-Feb-2021 rillig

make: demonstrate that neither -dg2 nor -dg3 produces debug output


# 1.1 05-Sep-2020 rillig

make(1): add tests for each debug option


# 1.6 24-Jan-2023 sjg

make: .SYSPATH: to add dirs to sysIncPath

.SYSPATH: with no sources will clear sysIncPath
otherwise sources are added

Reviewed by: rillig


Revision tags: netbsd-10-base
# 1.5 26-Mar-2022 rillig

make: avoid trailing whitespace in debug log for variables

Since trailing whitespace is invisible, describe the variable value in
words to make it visible.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 02-Feb-2021 rillig

make: remove overengineered Enum_ValueToString

For printing the status of a GNode, there was already made_name (now
renamed to GNodeMade_Name), which prints user-friendly text instead of
the bare enum constant names.

To do this change confidently, I first had to demonstrate that the
output really affects something other than just the word "UNMADE". There
had not been a test for that case before, and the test immediately
discovered a bug in the -dg2 and -dg3 options. This bug is one of the
oldest in make, dating back to at least 1993.


# 1.3 02-Feb-2021 rillig

make: when exiting due to an error, print graph information

The code now does what the manual page has been promising since at least
1993.


# 1.2 02-Feb-2021 rillig

make: demonstrate that neither -dg2 nor -dg3 produces debug output


# 1.1 05-Sep-2020 rillig

make(1): add tests for each debug option


# 1.5 26-Mar-2022 rillig

make: avoid trailing whitespace in debug log for variables

Since trailing whitespace is invisible, describe the variable value in
words to make it visible.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 02-Feb-2021 rillig

make: remove overengineered Enum_ValueToString

For printing the status of a GNode, there was already made_name (now
renamed to GNodeMade_Name), which prints user-friendly text instead of
the bare enum constant names.

To do this change confidently, I first had to demonstrate that the
output really affects something other than just the word "UNMADE". There
had not been a test for that case before, and the test immediately
discovered a bug in the -dg2 and -dg3 options. This bug is one of the
oldest in make, dating back to at least 1993.


# 1.3 02-Feb-2021 rillig

make: when exiting due to an error, print graph information

The code now does what the manual page has been promising since at least
1993.


# 1.2 02-Feb-2021 rillig

make: demonstrate that neither -dg2 nor -dg3 produces debug output


# 1.1 05-Sep-2020 rillig

make(1): add tests for each debug option


# 1.4 02-Feb-2021 rillig

make: remove overengineered Enum_ValueToString

For printing the status of a GNode, there was already made_name (now
renamed to GNodeMade_Name), which prints user-friendly text instead of
the bare enum constant names.

To do this change confidently, I first had to demonstrate that the
output really affects something other than just the word "UNMADE". There
had not been a test for that case before, and the test immediately
discovered a bug in the -dg2 and -dg3 options. This bug is one of the
oldest in make, dating back to at least 1993.


# 1.3 02-Feb-2021 rillig

make: when exiting due to an error, print graph information

The code now does what the manual page has been promising since at least
1993.


# 1.2 02-Feb-2021 rillig

make: demonstrate that neither -dg2 nor -dg3 produces debug output


# 1.1 05-Sep-2020 rillig

make(1): add tests for each debug option