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


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 16 09:38:54 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: 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
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

tests/lint: fix copy-and-paste typo in comment

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 16 03:53:13 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.11: +6 -4 lines
Diff to previous 1.11 (colored)

lint: improve error message for missing newline in .ln file

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 16 03:44:48 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.10: +18 -1 lines
Diff to previous 1.10 (colored)

tests/lint: demonstrate bad error message on missing newline

Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 28 09:16:46 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.9: +7 -4 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Sun Nov 28 09:10:36 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Sun Sep 5 18:17:15 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

lint: hide irrelevant type information from lint2

No functional change.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 4 20:39:17 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.6: +100 -1 lines
Diff to previous 1.6 (colored)

tests/lint: test error handling when reading .ln files

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 24 21:30:52 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.5: +37 -3 lines
Diff to previous 1.5 (colored)

lint: allow libraries to use 128-bit integer types

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 8 16:35:15 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.4: +10 -1 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Sun Aug 8 00:02:02 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Sat Aug 7 23:52:32 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored)

tests/lint: test reading of 128-bit integer types and printf

Revision 1.2 / (download) - annotate - [select for diffs], Sat Aug 7 21:24:14 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.1: +12 -10 lines
Diff to previous 1.1 (colored)

tests/lint: add test for reading the lint1 output

Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 5 22:36:08 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN

tests/lint: add test skeletons for messages from lint2

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>