Re: [PATCH xserver] Add unit tests for the byte swapping macros.

2017-03-28 Thread Peter Hutterer
On Tue, Mar 28, 2017 at 01:17:21PM -0700, Eric Anholt wrote: > Peter noted a weirdness in my new bswap code, which could use some > tests to justify it. > > Signed-off-by: Eric Anholt Reviewed-by: Peter Hutterer thanks Cheers, Peter > --- > test/misc.c | 43 +++

[PATCH xserver] Add unit tests for the byte swapping macros.

2017-03-28 Thread Eric Anholt
Peter noted a weirdness in my new bswap code, which could use some tests to justify it. Signed-off-by: Eric Anholt --- test/misc.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/test/misc.c b/test/misc.c index ae46bab9..c10a2b935bc4 100644 --