diff options
| author | rillig <rillig@NetBSD.org> | 2021-09-26 03:17:59 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2021-09-26 03:17:59 +0000 |
| commit | 164ff3d22f054de759cabec5398778004ec70104 (patch) | |
| tree | 5e66d3b34952d18561951a778d12e0517999a7b8 /sys/dev/microcode/isp | |
| parent | 1b26a7adcae36befd498664b815d60870a04e239 (diff) | |
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 t_integration.sh 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.
Diffstat (limited to 'sys/dev/microcode/isp')
0 files changed, 0 insertions, 0 deletions
