History log of /netbsd-current/usr.bin/make/unit-tests/directive-unexport-env.exp
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 01-Jun-2023 rillig

tests/make: force line-based diagnostics to be listed in the tests

This way, contradictions between the intended output and the actual
output are closer together and have a better chance of being spotted.


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

make: add space after colon in debug logging for variables

These log messages are intended for human interpretation, so don't make
them unnecessarily hard to read.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.11 06-Apr-2021 rillig

make: reduce verbosity of the -dv debug logging for standard cases

The verbosity was already removed from LogBeforeApply, now it is
consistent between LogBeforeApply and LogAfterApply.


# 1.10 05-Apr-2021 rillig

make: in debug log, add space between scope and variable name

Without this space, the debug log looked more like line noise, even
though the only punctuation was a single innocent ':'. From a make
user's perspective, the variable name is a word of its own and should
not be visually glued to its namespace.


# 1.9 05-Apr-2021 rillig

make: omit unnecessary details from -dv debug log

When an expression is based on a defined variable, it does not matter
whether the evaluation mode is "eval" or "eval-defined", therefore omit
these details to reduce confusion.


# 1.8 05-Apr-2021 rillig

make: be more verbose in -dv debug logging

The previous log output was too brief to be understandable. Give more
hints by describing each part of the expression when evaluating a
modifier. Distinguish between parse-only mode and eval mode since in
parse-only mode most of the details are irrelevant.


# 1.7 03-Apr-2021 rillig

make: remove VarFlags from debug logging

Before the introduction of ExprDefined, VarFlags contained whether the
expression was defined or not, which was useful to know since the final
value of the expression depends on this information. The other VarFlags
do not influence the evaluation, so there is no point logging them.


# 1.6 15-Mar-2021 rillig

make: change debug log for variable evaluation flags to lowercase

This makes them easier distinguishable from variable names since the
latter are usually uppercase.

No functional change outside debug mode.


# 1.5 15-Feb-2021 rillig

make: rename ExprDefined constants for debug logging


# 1.4 12-Dec-2020 rillig

make(1): error out on misspelled .export directives


# 1.3 12-Dec-2020 rillig

make(1): error out on misspelled .unexport-env


# 1.2 06-Dec-2020 rillig

make(1): add test for directive unexport-env


# 1.1 16-Aug-2020 rillig

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.


# 1.12 26-Mar-2022 rillig

make: add space after colon in debug logging for variables

These log messages are intended for human interpretation, so don't make
them unnecessarily hard to read.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.11 06-Apr-2021 rillig

make: reduce verbosity of the -dv debug logging for standard cases

The verbosity was already removed from LogBeforeApply, now it is
consistent between LogBeforeApply and LogAfterApply.


# 1.10 05-Apr-2021 rillig

make: in debug log, add space between scope and variable name

Without this space, the debug log looked more like line noise, even
though the only punctuation was a single innocent ':'. From a make
user's perspective, the variable name is a word of its own and should
not be visually glued to its namespace.


# 1.9 05-Apr-2021 rillig

make: omit unnecessary details from -dv debug log

When an expression is based on a defined variable, it does not matter
whether the evaluation mode is "eval" or "eval-defined", therefore omit
these details to reduce confusion.


# 1.8 05-Apr-2021 rillig

make: be more verbose in -dv debug logging

The previous log output was too brief to be understandable. Give more
hints by describing each part of the expression when evaluating a
modifier. Distinguish between parse-only mode and eval mode since in
parse-only mode most of the details are irrelevant.


# 1.7 03-Apr-2021 rillig

make: remove VarFlags from debug logging

Before the introduction of ExprDefined, VarFlags contained whether the
expression was defined or not, which was useful to know since the final
value of the expression depends on this information. The other VarFlags
do not influence the evaluation, so there is no point logging them.


# 1.6 15-Mar-2021 rillig

make: change debug log for variable evaluation flags to lowercase

This makes them easier distinguishable from variable names since the
latter are usually uppercase.

No functional change outside debug mode.


# 1.5 15-Feb-2021 rillig

make: rename ExprDefined constants for debug logging


# 1.4 12-Dec-2020 rillig

make(1): error out on misspelled .export directives


# 1.3 12-Dec-2020 rillig

make(1): error out on misspelled .unexport-env


# 1.2 06-Dec-2020 rillig

make(1): add test for directive unexport-env


# 1.1 16-Aug-2020 rillig

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.


# 1.11 06-Apr-2021 rillig

make: reduce verbosity of the -dv debug logging for standard cases

The verbosity was already removed from LogBeforeApply, now it is
consistent between LogBeforeApply and LogAfterApply.


# 1.10 05-Apr-2021 rillig

make: in debug log, add space between scope and variable name

Without this space, the debug log looked more like line noise, even
though the only punctuation was a single innocent ':'. From a make
user's perspective, the variable name is a word of its own and should
not be visually glued to its namespace.


# 1.9 05-Apr-2021 rillig

make: omit unnecessary details from -dv debug log

When an expression is based on a defined variable, it does not matter
whether the evaluation mode is "eval" or "eval-defined", therefore omit
these details to reduce confusion.


# 1.8 05-Apr-2021 rillig

make: be more verbose in -dv debug logging

The previous log output was too brief to be understandable. Give more
hints by describing each part of the expression when evaluating a
modifier. Distinguish between parse-only mode and eval mode since in
parse-only mode most of the details are irrelevant.


# 1.7 03-Apr-2021 rillig

make: remove VarFlags from debug logging

Before the introduction of ExprDefined, VarFlags contained whether the
expression was defined or not, which was useful to know since the final
value of the expression depends on this information. The other VarFlags
do not influence the evaluation, so there is no point logging them.


# 1.6 15-Mar-2021 rillig

make: change debug log for variable evaluation flags to lowercase

This makes them easier distinguishable from variable names since the
latter are usually uppercase.

No functional change outside debug mode.


# 1.5 15-Feb-2021 rillig

make: rename ExprDefined constants for debug logging


# 1.4 12-Dec-2020 rillig

make(1): error out on misspelled .export directives


# 1.3 12-Dec-2020 rillig

make(1): error out on misspelled .unexport-env


# 1.2 06-Dec-2020 rillig

make(1): add test for directive unexport-env


# 1.1 16-Aug-2020 rillig

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.


# 1.7 03-Apr-2021 rillig

make: remove VarFlags from debug logging

Before the introduction of ExprDefined, VarFlags contained whether the
expression was defined or not, which was useful to know since the final
value of the expression depends on this information. The other VarFlags
do not influence the evaluation, so there is no point logging them.


# 1.6 15-Mar-2021 rillig

make: change debug log for variable evaluation flags to lowercase

This makes them easier distinguishable from variable names since the
latter are usually uppercase.

No functional change outside debug mode.


# 1.5 15-Feb-2021 rillig

make: rename ExprDefined constants for debug logging


# 1.4 12-Dec-2020 rillig

make(1): error out on misspelled .export directives


# 1.3 12-Dec-2020 rillig

make(1): error out on misspelled .unexport-env


# 1.2 06-Dec-2020 rillig

make(1): add test for directive unexport-env


# 1.1 16-Aug-2020 rillig

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.


# 1.6 15-Mar-2021 rillig

make: change debug log for variable evaluation flags to lowercase

This makes them easier distinguishable from variable names since the
latter are usually uppercase.

No functional change outside debug mode.


# 1.5 15-Feb-2021 rillig

make: rename ExprDefined constants for debug logging


# 1.4 12-Dec-2020 rillig

make(1): error out on misspelled .export directives


# 1.3 12-Dec-2020 rillig

make(1): error out on misspelled .unexport-env


# 1.2 06-Dec-2020 rillig

make(1): add test for directive unexport-env


# 1.1 16-Aug-2020 rillig

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.


# 1.5 15-Feb-2021 rillig

make: rename ExprDefined constants for debug logging


# 1.4 12-Dec-2020 rillig

make(1): error out on misspelled .export directives


# 1.3 12-Dec-2020 rillig

make(1): error out on misspelled .unexport-env


# 1.2 06-Dec-2020 rillig

make(1): add test for directive unexport-env


# 1.1 16-Aug-2020 rillig

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.


# 1.4 12-Dec-2020 rillig

make(1): error out on misspelled .export directives


# 1.3 12-Dec-2020 rillig

make(1): error out on misspelled .unexport-env


# 1.2 06-Dec-2020 rillig

make(1): add test for directive unexport-env


# 1.1 16-Aug-2020 rillig

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.