Home | History | Annotate | Download | only in lint2
History log of /src/tests/usr.bin/xlint/lint2/t_lint2.sh
RevisionDateAuthorComments
 1.13  16-Dec-2021  rillig tests/lint: fix copy-and-paste typo in comment
 1.12  16-Dec-2021  rillig lint: improve error message for missing newline in .ln file
 1.11  16-Dec-2021  rillig tests/lint: demonstrate bad error message on missing newline
 1.10  28-Nov-2021  rillig lint2: in case of parse errors, output the offending line

This provides more of a clue than a simple '(not alnum or _: )',
especially in the output of build.sh.

While here, change the format of the error message to the standard
'%s:%d'. Since these are internal errors, they are not supposed to occur
often, so no need to change error(1).
 1.9  28-Nov-2021  rillig tests/lint2: fix regular expressions containing backslash

In regular expressions, a backslash must be doubled. In this case, ATF
didn't complain because the single backslashes were used in the pattern
'\($2\)', where they produced '\(...\\)'. Omitting the backslash for the
closing parenthesis was apparently OK; other regex implementations
complain about this.
 1.8  05-Sep-2021  rillig lint: hide irrelevant type information from lint2

No functional change.
 1.7  04-Sep-2021  rillig tests/lint: test error handling when reading .ln files
 1.6  24-Aug-2021  rillig lint: allow libraries to use 128-bit integer types
 1.5  08-Aug-2021  rillig tests/lint: include but don't run read_lp64 on 32-bit platforms

The lint1 tests are all in the machine-independent file list, which
makes it easier to manage them. At run time, some of them are skipped
based on platform characteristics. Do the same for the lint2 tests.

Having the lint2 test named read_lp64 as the only machine-dependent test
would complicate things.

The build for i386 had failed because the files for read_lp64 were
listed in distrib/sets/lists/tests/mi but were not actually installed.
 1.4  08-Aug-2021  rillig tests/lint: make list of tests simpler

Since the file /usr/tests/usr.bin/xlint/lint2/tests has only been in the
file set for a few minutes, it is not marked as obsolete but simply
removed.
 1.3  07-Aug-2021  rillig tests/lint: test reading of 128-bit integer types and printf
 1.2  07-Aug-2021  rillig tests/lint: add test for reading the lint1 output
 1.1  05-Aug-2021  rillig tests/lint: add test skeletons for messages from lint2

RSS XML Feed