linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] fix test cases on 32bit
@ 2017-03-27 14:19 Luc Van Oostenryck
  2017-03-27 14:19 ` [PATCH 1/5] fix test for cast to bool on 32bit machines Luc Van Oostenryck
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Luc Van Oostenryck @ 2017-03-27 14:19 UTC (permalink / raw)
  To: linux-sparse; +Cc: Ramsay Jones, Christopher Li, Luc Van Oostenryck

Some of the test cases made some assumption about the size
of longs or pointers. This serie provides fixes for those.

Luc Van Oostenryck (5):
  fix test for cast to bool on 32bit machines
  predefine __INT_MAX__ and friends
  predefine __SIZEOF_INT__ & friends
  fix test validation/div.c
  do not depends on limits.h to test __CHAR_BIT__

 lib.c                                     | 33 ++++++++++++++++++++++++++-----
 validation/bool-cast-explicit.c           |  2 +-
 validation/bool-cast-implicit.c           |  2 +-
 validation/builtin_char_bit.c             |  7 -------
 validation/div.c                          | 22 +++++++++++----------
 validation/preprocessor/predef-char-bit.c | 16 +++++++++++++++
 validation/preprocessor/predef-max.c      | 18 +++++++++++++++++
 validation/preprocessor/predef-sizeof.c   | 25 +++++++++++++++++++++++
 8 files changed, 101 insertions(+), 24 deletions(-)
 delete mode 100644 validation/builtin_char_bit.c
 create mode 100644 validation/preprocessor/predef-char-bit.c
 create mode 100644 validation/preprocessor/predef-max.c
 create mode 100644 validation/preprocessor/predef-sizeof.c

-- 
2.12.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-01 10:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-27 14:19 [PATCH 0/5] fix test cases on 32bit Luc Van Oostenryck
2017-03-27 14:19 ` [PATCH 1/5] fix test for cast to bool on 32bit machines Luc Van Oostenryck
2017-03-27 14:19 ` [PATCH 2/5] predefine __INT_MAX__ and friends Luc Van Oostenryck
2017-03-27 14:19 ` [PATCH 3/5] predefine __SIZEOF_INT__ & friends Luc Van Oostenryck
2017-03-27 14:19 ` [PATCH 4/5] fix test validation/div.c Luc Van Oostenryck
2017-03-27 14:19 ` [PATCH 5/5] do not depends on limits.h to test __CHAR_BIT__ Luc Van Oostenryck
2017-04-01 10:32 ` [GIT PULL] fix test cases on 32bit Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).