The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint2/t_lint2.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint2

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Dec 16 09:38:54 2021 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, 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, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
tests/lint: fix copy-and-paste typo in comment

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 16 03:53:13 2021 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -4 lines
lint: improve error message for missing newline in .ln file

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 16 03:44:48 2021 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +18 -1 lines
tests/lint: demonstrate bad error message on missing newline

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Nov 28 09:16:46 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -4 lines
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).

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 28 09:10:36 2021 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
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.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Sep 5 18:17:15 2021 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
lint: hide irrelevant type information from lint2

No functional change.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Sep 4 20:39:17 2021 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +100 -1 lines
tests/lint: test error handling when reading .ln files

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 24 21:30:52 2021 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +37 -3 lines
lint: allow libraries to use 128-bit integer types

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 8 16:35:15 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -1 lines
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.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 8 00:02:02 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
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.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 7 23:52:32 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -4 lines
tests/lint: test reading of 128-bit integer types and printf

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 7 21:24:14 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +12 -10 lines
tests/lint: add test for reading the lint1 output

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Aug 5 22:36:08 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
tests/lint: add test skeletons for messages from lint2

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>