History log of /netbsd-current/usr.bin/make/unit-tests/cond-op-and.mk
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.11 06-Aug-2024 rillig

make: in error message about conditionals, use single quotes

Single quotes are used less often in the conditionals themselves, which
leads to fewer confusions.


# 1.10 06-Jul-2024 rillig

make: error out on conditions containing the operators '&' and '|'

These abbreviated variants of the '&&' and '||' operators were never
documented, so error out in non-lint mode as well.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.9 17-Dec-2023 rillig

tests/make: in 'expect' lines, require the complete text of the line


# 1.8 15-Aug-2023 rillig

tests/make: show that '||' and '&&' must be preceded by whitespace


# 1.7 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.6 10-Dec-2021 rillig

tests/make: add more comprehensive tests for short-circuit evaluation


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.5 24-Oct-2020 rillig

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.


# 1.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


# 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 06-Jul-2024 rillig

make: error out on conditions containing the operators '&' and '|'

These abbreviated variants of the '&&' and '||' operators were never
documented, so error out in non-lint mode as well.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.9 17-Dec-2023 rillig

tests/make: in 'expect' lines, require the complete text of the line


# 1.8 15-Aug-2023 rillig

tests/make: show that '||' and '&&' must be preceded by whitespace


# 1.7 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.6 10-Dec-2021 rillig

tests/make: add more comprehensive tests for short-circuit evaluation


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.5 24-Oct-2020 rillig

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.


# 1.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


# 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.9 17-Dec-2023 rillig

tests/make: in 'expect' lines, require the complete text of the line


# 1.8 15-Aug-2023 rillig

tests/make: show that '||' and '&&' must be preceded by whitespace


# 1.7 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.6 10-Dec-2021 rillig

tests/make: add more comprehensive tests for short-circuit evaluation


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.5 24-Oct-2020 rillig

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.


# 1.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


# 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.8 15-Aug-2023 rillig

tests/make: show that '||' and '&&' must be preceded by whitespace


# 1.7 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.6 10-Dec-2021 rillig

tests/make: add more comprehensive tests for short-circuit evaluation


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.5 24-Oct-2020 rillig

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.


# 1.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


# 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 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.6 10-Dec-2021 rillig

tests/make: add more comprehensive tests for short-circuit evaluation


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.5 24-Oct-2020 rillig

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.


# 1.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


# 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 10-Dec-2021 rillig

tests/make: add more comprehensive tests for short-circuit evaluation


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.5 24-Oct-2020 rillig

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.


# 1.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


# 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.5 24-Oct-2020 rillig

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.


# 1.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


# 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.4 10-Sep-2020 rillig

make(1): add test for the &, && and &&& operators


# 1.3 28-Aug-2020 rillig

make(1): add tests for the &&, || and ! operators


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