pixman/test
Ben Avison 62a772f2ea test: Fix solid-test for big-endian targets
When generating test data, we need to make sure the interpretation of
the data is the same regardless of endianess. That is, the pixel value
for each channel is the same on both little and big-endians.

This fixes a test failure on ppc64 (big-endian).

Tested-by: Fernando Seiti Furusato <ferseiti@linux.vnet.ibm.com> (ppc64le, ppc64, powerpc)
Tested-by: Ben Avison <bavison@riscosopen.org> (armv6l, armv7l, i686)
[Pekka: added commit message]
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> (x86_64)
2015-06-01 13:11:15 +03:00
..
a1-trap-test.c a1-trap-test: Add tests for operator_name and format_name() 2013-02-13 02:18:01 -05:00
affine-bench.c test: Add a new benchmarker targeting affine operations 2015-04-24 10:25:42 +03:00
affine-test.c test: Test negative strides 2013-09-19 21:37:56 -04:00
alpha-loop.c test: Fix build on MSVC 2013-06-25 16:55:24 +02:00
alphamap.c utils.[ch]: Add new format_name() function 2013-01-23 12:24:31 -05:00
blitters-test.c Use floating point combiners for all operators that involve divisions 2014-01-04 16:13:27 -05:00
check-formats.c test: Move format and operator string functions to utils.[ch] 2015-04-13 10:11:51 +03:00
combiner-test.c test: Get rid of the obsolete 'prng_rand_N' and 'prng_rand_u32' 2012-12-06 17:20:38 +02:00
composite-traps-test.c test: Test negative strides 2013-09-19 21:37:56 -04:00
composite.c general: Support component alpha for all image types 2013-11-23 20:30:33 -05:00
fetch-test.c Use the ARRAY_LENGTH() macro when possible 2011-11-09 09:17:00 +01:00
fuzzer-find-diff.pl test: fix bisecting issue in fuzzer-find-diff.pl 2012-06-12 04:21:57 +03:00
glyph-test.c test: Get rid of the obsolete 'prng_rand_N' and 'prng_rand_u32' 2012-12-06 17:20:38 +02:00
gradient-crash-test.c Add combiner test 2012-10-01 12:56:09 -04:00
infinite-loop.c test: Add inifinite-loop test 2012-09-24 18:29:30 -04:00
lowlevel-blt-bench.c lowlevel-blt-bench: use a8r8g8b8 for CA solid masks 2015-04-20 16:18:18 +03:00
Makefile.am test: Add new thread-test program 2013-10-01 23:33:57 +03:00
Makefile.sources test: Add new fuzz tester targeting solid images 2015-05-15 16:30:21 +03:00
Makefile.win32 Fix building of "other" programs on MSVC 2013-10-09 14:23:11 +02:00
matrix-test.c test: fix matrix-test on big endian systems 2013-08-05 01:42:29 +03:00
oob-test.c Use the ARRAY_LENGTH() macro when possible 2011-11-09 09:17:00 +01:00
pdf-op-test.c Add combiner test 2012-10-01 12:56:09 -04:00
pixel-test.c pixel-test.c: Add a number of pixels that have failed at some point 2014-01-04 16:13:27 -05:00
prng-test.c test: larger 0xFF/0x00 filled clusters in random images for blitters-test 2013-04-28 22:14:47 +03:00
radial-invalid.c test: Add radial-invalid test program 2014-05-15 13:29:38 -04:00
radial-perf-test.c test: Add radial-perf-test, a microbenchmark for radial gradients 2013-03-11 22:41:45 -04:00
region-contains-test.c test: Get rid of the obsolete 'prng_rand_N' and 'prng_rand_u32' 2012-12-06 17:20:38 +02:00
region-test.c test: Switch to the new PRNG instead of old LCG 2012-12-06 17:20:35 +02:00
region-translate-test.c test: Cleanup includes 2011-11-09 09:17:00 +01:00
rotate-test.c test: Test negative strides 2013-09-19 21:37:56 -04:00
scaling-bench.c test: safeguard the scaling-bench test against COW 2013-09-07 17:20:09 -04:00
scaling-crash-test.c test: Composite with solid images instead of using pixman_image_fill_* 2012-05-24 15:30:41 -04:00
scaling-helpers-test.c test: Get rid of the obsolete 'prng_rand_N' and 'prng_rand_u32' 2012-12-06 17:20:38 +02:00
scaling-test.c test: Test negative strides 2013-09-19 21:37:56 -04:00
solid-test.c test: Fix solid-test for big-endian targets 2015-06-01 13:11:15 +03:00
stress-test.c stresstest: Ensure that the rasterizer is only given alpha formats 2013-01-29 20:43:51 -05:00
thread-test.c Use floating point combiners for all operators that involve divisions 2014-01-04 16:13:27 -05:00
tolerance-test.c test: Fix OpenMP clauses for the tolerance-test 2014-04-02 12:46:09 +03:00
trap-crasher.c test/trap-crasher.c: Add trapezoid that demonstrates a crash 2013-11-01 20:24:27 -04:00
utils-prng.c configure.ac: Check if the compiler supports GCC vector extensions 2014-04-02 12:46:04 +03:00
utils-prng.h configure.ac: Check if the compiler supports GCC vector extensions 2014-04-02 12:46:04 +03:00
utils.c test/utils: add format aliases used by lowlevel-blt-bench 2015-04-15 12:42:45 +03:00
utils.h test: Move format and operator string functions to utils.[ch] 2015-04-13 10:11:51 +03:00