Vincent Dagonneau d1209597ff tools/nolibc: add tests for the integer limits in stdint.h
This commit adds tests for the limits added in a previous commit. The
limits are defined in decimal in stdint.h and as hexadecimal in the
tests (e.g. 0x7f = 127 or 0x80 = -128). Hopefully it catches some of the
most egregious mistakes.

As we rely on the compiler to provide __SIZEOF_LONG__, we also test
whether it is defined.

Signed-off-by: Vincent Dagonneau <v@vda.io>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2023-03-20 08:45:22 -07:00
..
2023-03-02 09:45:34 -08:00
2023-02-03 13:54:22 -03:00
2023-01-21 17:52:26 +00:00
2023-02-23 10:20:49 -08:00
2023-03-02 09:45:34 -08:00
2023-02-21 17:32:50 -08:00
2023-02-23 10:20:49 -08:00