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


Keyword substitution: kv
Default branch: MAIN


Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jul 8 11:03:00 2023 UTC (16 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
tests/lint: fix a few ilp32 tests

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jun 24 17:50:31 2023 UTC (17 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -8 lines
lint: don't warn about comparison between char and character constant

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 27 21:59:14 2023 UTC (21 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -10 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 22 22:30:40 2023 UTC (21 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -8 lines
lint: fix confusing message about nonportable character constants

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jun 22 19:23:18 2022 UTC (2 years, 5 months ago) by rillig
Branches: 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 14 20:25:26 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 26 11:13:01 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +24 -8 lines
tests/lint: sync tests for platform-dependent character comparisons

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 16 21:14:59 2021 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
tests/lint: ensure that tests on a message mention this message

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 16 20:23:40 2021 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +19 -19 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 28 15:25:10 2021 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +100 -17 lines
tests/lint: align tests for unsigned char and signed char

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 28 14:45:19 2021 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
tests/lint: extend test for nonportable character comparison

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 21 11:50:57 2021 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 3 19:31:22 2021 UTC (3 years, 5 months ago) by rillig
Branches: 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.

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>