History log of /netbsd-current/usr.bin/make/unit-tests/varmod-to-separator.mk
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.14 20-Apr-2024 rillig

make: provide more context information for parse/evaluate errors


# 1.13 19-Nov-2023 rillig

tests/make: replace 'variable expression' with 'expression'

Each expression is based on a variable, there's no need for the
verbosity. The wording in make's diagnostics will be changed in a
follow-up commit.


# 1.12 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-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.11 09-Feb-2022 rillig

make: fix mistakes, spelling and typos in comments and manual page

No binary change for -DNDEBUG.


# 1.10 23-Jan-2022 rillig

tests/make: add a few more tests


# 1.9 23-Jan-2022 rillig

tests/make: add more tests for the modifier ':ts'


# 1.8 23-Jan-2022 rillig

tests/make: migrate modts to varmod-to-separator and explain


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.7 15-Nov-2020 rillig

make(1): update and add comments in tests

As a result of the new comments, some line numbers have changed in the
output of the tests. No other changes.


# 1.6 01-Nov-2020 rillig

make(1): treat malformed :range, :ts and :[...] as errors

Before, integer overflow in the :[1..2] modifier had not been detected,
and the actual behavior varied between ILP64 and LP64I32 machines.

Before, the :ts modifier accepted character literals like \012345 and
\x1F600, which don't fit in a single character and were thus truncated.

Before, the :range modifier issued an "Unknown modifier" error message
for :range=x, which was not quite correct. The error message in this
case is now "Invalid number".


# 1.5 01-Nov-2020 rillig

make(1): add tests for parsing errors in the :ts variable modifier


# 1.4 01-Nov-2020 rillig

make(1): add test for out-of-bounds separator in variable modifier :ts


# 1.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


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

tests/make: replace 'variable expression' with 'expression'

Each expression is based on a variable, there's no need for the
verbosity. The wording in make's diagnostics will be changed in a
follow-up commit.


# 1.12 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-0-RC1 netbsd-10-base
# 1.11 09-Feb-2022 rillig

make: fix mistakes, spelling and typos in comments and manual page

No binary change for -DNDEBUG.


# 1.10 23-Jan-2022 rillig

tests/make: add a few more tests


# 1.9 23-Jan-2022 rillig

tests/make: add more tests for the modifier ':ts'


# 1.8 23-Jan-2022 rillig

tests/make: migrate modts to varmod-to-separator and explain


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.7 15-Nov-2020 rillig

make(1): update and add comments in tests

As a result of the new comments, some line numbers have changed in the
output of the tests. No other changes.


# 1.6 01-Nov-2020 rillig

make(1): treat malformed :range, :ts and :[...] as errors

Before, integer overflow in the :[1..2] modifier had not been detected,
and the actual behavior varied between ILP64 and LP64I32 machines.

Before, the :ts modifier accepted character literals like \012345 and
\x1F600, which don't fit in a single character and were thus truncated.

Before, the :range modifier issued an "Unknown modifier" error message
for :range=x, which was not quite correct. The error message in this
case is now "Invalid number".


# 1.5 01-Nov-2020 rillig

make(1): add tests for parsing errors in the :ts variable modifier


# 1.4 01-Nov-2020 rillig

make(1): add test for out-of-bounds separator in variable modifier :ts


# 1.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


# 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 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.11 09-Feb-2022 rillig

make: fix mistakes, spelling and typos in comments and manual page

No binary change for -DNDEBUG.


# 1.10 23-Jan-2022 rillig

tests/make: add a few more tests


# 1.9 23-Jan-2022 rillig

tests/make: add more tests for the modifier ':ts'


# 1.8 23-Jan-2022 rillig

tests/make: migrate modts to varmod-to-separator and explain


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.7 15-Nov-2020 rillig

make(1): update and add comments in tests

As a result of the new comments, some line numbers have changed in the
output of the tests. No other changes.


# 1.6 01-Nov-2020 rillig

make(1): treat malformed :range, :ts and :[...] as errors

Before, integer overflow in the :[1..2] modifier had not been detected,
and the actual behavior varied between ILP64 and LP64I32 machines.

Before, the :ts modifier accepted character literals like \012345 and
\x1F600, which don't fit in a single character and were thus truncated.

Before, the :range modifier issued an "Unknown modifier" error message
for :range=x, which was not quite correct. The error message in this
case is now "Invalid number".


# 1.5 01-Nov-2020 rillig

make(1): add tests for parsing errors in the :ts variable modifier


# 1.4 01-Nov-2020 rillig

make(1): add test for out-of-bounds separator in variable modifier :ts


# 1.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


# 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 09-Feb-2022 rillig

make: fix mistakes, spelling and typos in comments and manual page

No binary change for -DNDEBUG.


# 1.10 23-Jan-2022 rillig

tests/make: add a few more tests


# 1.9 23-Jan-2022 rillig

tests/make: add more tests for the modifier ':ts'


# 1.8 23-Jan-2022 rillig

tests/make: migrate modts to varmod-to-separator and explain


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.7 15-Nov-2020 rillig

make(1): update and add comments in tests

As a result of the new comments, some line numbers have changed in the
output of the tests. No other changes.


# 1.6 01-Nov-2020 rillig

make(1): treat malformed :range, :ts and :[...] as errors

Before, integer overflow in the :[1..2] modifier had not been detected,
and the actual behavior varied between ILP64 and LP64I32 machines.

Before, the :ts modifier accepted character literals like \012345 and
\x1F600, which don't fit in a single character and were thus truncated.

Before, the :range modifier issued an "Unknown modifier" error message
for :range=x, which was not quite correct. The error message in this
case is now "Invalid number".


# 1.5 01-Nov-2020 rillig

make(1): add tests for parsing errors in the :ts variable modifier


# 1.4 01-Nov-2020 rillig

make(1): add test for out-of-bounds separator in variable modifier :ts


# 1.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


# 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.10 23-Jan-2022 rillig

tests/make: add a few more tests


# 1.9 23-Jan-2022 rillig

tests/make: add more tests for the modifier ':ts'


# 1.8 23-Jan-2022 rillig

tests/make: migrate modts to varmod-to-separator and explain


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.7 15-Nov-2020 rillig

make(1): update and add comments in tests

As a result of the new comments, some line numbers have changed in the
output of the tests. No other changes.


# 1.6 01-Nov-2020 rillig

make(1): treat malformed :range, :ts and :[...] as errors

Before, integer overflow in the :[1..2] modifier had not been detected,
and the actual behavior varied between ILP64 and LP64I32 machines.

Before, the :ts modifier accepted character literals like \012345 and
\x1F600, which don't fit in a single character and were thus truncated.

Before, the :range modifier issued an "Unknown modifier" error message
for :range=x, which was not quite correct. The error message in this
case is now "Invalid number".


# 1.5 01-Nov-2020 rillig

make(1): add tests for parsing errors in the :ts variable modifier


# 1.4 01-Nov-2020 rillig

make(1): add test for out-of-bounds separator in variable modifier :ts


# 1.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


# 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 15-Nov-2020 rillig

make(1): update and add comments in tests

As a result of the new comments, some line numbers have changed in the
output of the tests. No other changes.


# 1.6 01-Nov-2020 rillig

make(1): treat malformed :range, :ts and :[...] as errors

Before, integer overflow in the :[1..2] modifier had not been detected,
and the actual behavior varied between ILP64 and LP64I32 machines.

Before, the :ts modifier accepted character literals like \012345 and
\x1F600, which don't fit in a single character and were thus truncated.

Before, the :range modifier issued an "Unknown modifier" error message
for :range=x, which was not quite correct. The error message in this
case is now "Invalid number".


# 1.5 01-Nov-2020 rillig

make(1): add tests for parsing errors in the :ts variable modifier


# 1.4 01-Nov-2020 rillig

make(1): add test for out-of-bounds separator in variable modifier :ts


# 1.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


# 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 01-Nov-2020 rillig

make(1): treat malformed :range, :ts and :[...] as errors

Before, integer overflow in the :[1..2] modifier had not been detected,
and the actual behavior varied between ILP64 and LP64I32 machines.

Before, the :ts modifier accepted character literals like \012345 and
\x1F600, which don't fit in a single character and were thus truncated.

Before, the :range modifier issued an "Unknown modifier" error message
for :range=x, which was not quite correct. The error message in this
case is now "Invalid number".


# 1.5 01-Nov-2020 rillig

make(1): add tests for parsing errors in the :ts variable modifier


# 1.4 01-Nov-2020 rillig

make(1): add test for out-of-bounds separator in variable modifier :ts


# 1.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


# 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.3 31-Aug-2020 rillig

make(1): move some of the :ts tests into a separate file

The successful cases can be easily tested in the .if conditions. Around
these conditions, there is enough space for explaining the test cases
and their purpose.

The failure cases have been left in the file for now since they still
produce unwanted characters in the output. These characters are not
produced when the parse error occurs in a conditional.


# 1.2 16-Aug-2020 rillig

make(1): describe the purpose of each newly added unit test dummy


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