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

tests/make: require all expected messages to be listed in the .mk files


# 1.7 01-Jun-2024 sjg

make: add .export-all

An explicit syntax for exporting all global variables is much safer
than allowing .export with no argument to do the same.

Add .export-all and have .export with no argument throw a warning saying
to use .export-all

Reviewed by: rillig


# 1.6 19-Nov-2023 rillig

tests/make: test and explain exporting of variables


# 1.5 20-Aug-2023 rillig

tests/make: show a difference between 'export' and '.export'


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 cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 13-Dec-2020 rillig

make(1): error out on misspelled directives

Before, make accepted misspellings like .warnings, .export-literally and
a few others, all of which are unlikely to occur in practice. See the
test directive-misspellings.mk for further details.


# 1.3 12-Dec-2020 rillig

make(1): extract ExportVars from Var_Export


# 1.2 03-Nov-2020 rillig

make(1): move tests from directives.mk to separate tests


# 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 19-Nov-2023 rillig

tests/make: test and explain exporting of variables


# 1.5 20-Aug-2023 rillig

tests/make: show a difference between 'export' and '.export'


Revision tags: netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 13-Dec-2020 rillig

make(1): error out on misspelled directives

Before, make accepted misspellings like .warnings, .export-literally and
a few others, all of which are unlikely to occur in practice. See the
test directive-misspellings.mk for further details.


# 1.3 12-Dec-2020 rillig

make(1): extract ExportVars from Var_Export


# 1.2 03-Nov-2020 rillig

make(1): move tests from directives.mk to separate tests


# 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 20-Aug-2023 rillig

tests/make: show a difference between 'export' and '.export'


Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 13-Dec-2020 rillig

make(1): error out on misspelled directives

Before, make accepted misspellings like .warnings, .export-literally and
a few others, all of which are unlikely to occur in practice. See the
test directive-misspellings.mk for further details.


# 1.3 12-Dec-2020 rillig

make(1): extract ExportVars from Var_Export


# 1.2 03-Nov-2020 rillig

make(1): move tests from directives.mk to separate tests


# 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 13-Dec-2020 rillig

make(1): error out on misspelled directives

Before, make accepted misspellings like .warnings, .export-literally and
a few others, all of which are unlikely to occur in practice. See the
test directive-misspellings.mk for further details.


# 1.3 12-Dec-2020 rillig

make(1): extract ExportVars from Var_Export


# 1.2 03-Nov-2020 rillig

make(1): move tests from directives.mk to separate tests


# 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.2 03-Nov-2020 rillig

make(1): move tests from directives.mk to separate tests


# 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.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.