The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint1/msg_230_uchar.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Sat Jul 8 11:03:00 2023 UTC (7 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

tests/lint: fix a few ilp32 tests

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 24 17:50:31 2023 UTC (7 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.11: +2 -8 lines
Diff to previous 1.11 (colored)

lint: don't warn about comparison between char and character constant

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 27 21:59:14 2023 UTC (11 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.10: +10 -10 lines
Diff to previous 1.10 (colored)

tests/lint: sync test for nonportable character comparisons

Message 230 was changed on 2023-02-22 but only tested on signed char
platforms.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 22 22:30:40 2023 UTC (11 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.9: +8 -8 lines
Diff to previous 1.9 (colored)

lint: fix confusing message about nonportable character constants

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 22 19:23:18 2022 UTC (20 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

lint: add quotes around placeholders for the remaining messages

Reword some of the messages slightly, exchanging brevity for clarity.

Message 138 is kept as-is, as it is not yet covered by any tests.

Message 240 is kep as-is, as it is unreachable.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 14 20:25:26 2022 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

tests/lint: fix test about "non-portable character constant" on uchar

The warning is wrong, and it has been for a long time.  For now just fix
the test to match the actual output.  Seen on evbarm, which is one of
the platforms where a plain char is unsigned.

Noticed by Martin.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 26 11:13:01 2022 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.6: +24 -8 lines
Diff to previous 1.6 (colored)

tests/lint: sync tests for platform-dependent character comparisons

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 16 21:14:59 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

tests/lint: ensure that tests on a message mention this message

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 16 20:23:40 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.4: +19 -19 lines
Diff to previous 1.4 (colored)

tests/lint: fix test on platforms where char is unsigned

In tree.c 1.385 from 2021-10-09, the format of the message changed.  The
test for platforms where char is unsigned was not updated in that commit
because I had forgotten about it, and because lint1/check-msgs.lua only
checks the message in tests named exacty msg_000.c, but not msg_000_*.c.

Found by martin@.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 28 15:25:10 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.3: +100 -17 lines
Diff to previous 1.3 (colored)

tests/lint: align tests for unsigned char and signed char

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 28 14:45:19 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

tests/lint: extend test for nonportable character comparison

Revision 1.2 / (download) - annotate - [select for diffs], Sat Aug 21 11:50:57 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

tests/lint: guard against typos in test environment configuration

Some tests had "lint1-only-if" without a trailing colon, others included
the trailing colon.  The tests that included the trailing colon were run
even though they were supposed to be skipped, and they failed, as could
be expected.

To prevent further typos, always require the trailing colon, just as in
"lint1-flags" and fail fast on unknown "lint1" comments.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 3 19:31:22 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN

tests/lint: fix test for character comparison on macppc

On macppc, char == unsigned char, which generates one more warning than
on platforms where char == signed char.

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>