test: Add scale li_fixed overflow test
authorJonas Ådahl <jadahl@gmail.com>
Tue, 18 Feb 2014 19:13:58 +0000 (20:13 +0100)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Feb 2014 01:30:08 +0000 (11:30 +1000)
commitad24bc07f85a923d594406ad7558534a9114b021
tree30b6c9056314d6d3c6b63d3b5bec91ede5b08f48
parent295578bc2d27b36ae02d8874460e8fca983f3491
test: Add scale li_fixed overflow test

Add a test case and test device that checks if the scale transform can
handle high resolution devices and output monitor resolutions.

The test case is created in a way that it will fail if the coordinate
transform expression will overflow if only 32 bit integer data
containers are used.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/Makefile.am
test/litest-generic-highres-touch.c [new file with mode: 0644]
test/litest.c
test/litest.h
test/touch.c