History log of /netbsd-current/tests/usr.bin/xlint/lint1/accept.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 10-Jul-2024 rillig

tests/lint: allow empty lines in .exp-ln files

The generated .ln files neither contain spaces nor empty lines. To make
the input more human-readable, allow empty lines in the expected .ln
files.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.15 28-Jan-2024 rillig

tests/lint: sort multiple diagnostics per line chronologically

For now, the chronologic order is not enforced but has to be established
manually, for example by removing all 'expect' comment lines and
regenerating them with 'accept.sh -u'.

While here, clean up a few instances that came up when regenerating the
'expect' comments, such as wrong indentation or needless deviation from
the 'expect+1' form.


# 1.14 08-Jul-2023 rillig

tests/lint: automate accepting changed test results


# 1.13 08-Jul-2023 rillig

tests/lint: only overwrite .exp files if the output actually changes


# 1.12 28-Jun-2023 rillig

tests/lint: do not overwrite expected files that only differ in spaces


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 19-Jun-2022 rillig

tests/lint: add quotes around placeholders in a few messages


# 1.10 17-Jun-2022 rillig

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed. The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.


# 1.9 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.15 28-Jan-2024 rillig

tests/lint: sort multiple diagnostics per line chronologically

For now, the chronologic order is not enforced but has to be established
manually, for example by removing all 'expect' comment lines and
regenerating them with 'accept.sh -u'.

While here, clean up a few instances that came up when regenerating the
'expect' comments, such as wrong indentation or needless deviation from
the 'expect+1' form.


# 1.14 08-Jul-2023 rillig

tests/lint: automate accepting changed test results


# 1.13 08-Jul-2023 rillig

tests/lint: only overwrite .exp files if the output actually changes


# 1.12 28-Jun-2023 rillig

tests/lint: do not overwrite expected files that only differ in spaces


Revision tags: netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.11 19-Jun-2022 rillig

tests/lint: add quotes around placeholders in a few messages


# 1.10 17-Jun-2022 rillig

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed. The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.


# 1.9 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.14 08-Jul-2023 rillig

tests/lint: automate accepting changed test results


# 1.13 08-Jul-2023 rillig

tests/lint: only overwrite .exp files if the output actually changes


# 1.12 28-Jun-2023 rillig

tests/lint: do not overwrite expected files that only differ in spaces


Revision tags: netbsd-10-base
# 1.11 19-Jun-2022 rillig

tests/lint: add quotes around placeholders in a few messages


# 1.10 17-Jun-2022 rillig

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed. The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.


# 1.9 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.12 28-Jun-2023 rillig

tests/lint: do not overwrite expected files that only differ in spaces


Revision tags: netbsd-10-base
# 1.11 19-Jun-2022 rillig

tests/lint: add quotes around placeholders in a few messages


# 1.10 17-Jun-2022 rillig

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed. The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.


# 1.9 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.11 19-Jun-2022 rillig

tests/lint: add quotes around placeholders in a few messages


# 1.10 17-Jun-2022 rillig

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed. The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.


# 1.9 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.10 17-Jun-2022 rillig

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed. The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.


# 1.9 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.9 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.8 26-Aug-2021 rillig

tests/lint: add tests for several messages


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.7 16-Aug-2021 rillig

tests/lint: remove unintended debugging output


# 1.6 16-Aug-2021 rillig

tests/lint: fix check for expected message in msg tests


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.5 08-Aug-2021 rillig

tests/lint: clean up accept.sh, document test for removed assertion


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output


# 1.4 05-Aug-2021 rillig

tests/lint: test emitting 128-bit integer types for lint2


# 1.3 11-Jul-2021 rillig

tests/lint: when accepting test results, skip crashes


# 1.2 11-Jul-2021 rillig

tests/lint: suppress ShellCheck warnings for intentional violations

The undeclared variables are generated by the AWK program.
The variable 'flags' must be split into words at exactly this point.


# 1.1 29-Jun-2021 rillig

tests/lint: add 'make accept' to update the expected output