The NetBSD Project

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

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

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 2 23:54:49 2023 UTC (4 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.3: +9 -4 lines
Diff to previous 1.3 (colored)

tests/lint: add more test cases for nonportable character comparison

Revision 1.3 / (download) - annotate - [select for diffs], Wed Feb 22 22:12:35 2023 UTC (13 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +4 -5 lines
Diff to previous 1.2 (colored)

tests/lint: add platform-specific tests

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 26 14:28:22 2021 UTC (2 years, 6 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
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

tests/lint: run all platform tests with the same options

Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 26 03:17:59 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN

tests/lint: add tests for platform characteristics

Running lint in usr.bin/make on i386 fails due to this warning:

cond.c(800): warning: argument #3 is converted from 'unsigned char' to
    'unsigned int' due to prototype [259]

This warning only occurred on i386 but not on sparc or x86_64. Try to
reproduce the test situation in platform_int.

The platform code in was not strict enough, it didn't
check for multiple conditions, such as in msg_132_ilp32. That test was
only supposed to run on ILP32 platforms where size_t is unsigned int. It
also ran on sparc, even though size_t is long there.

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 <>