tests: add tests for devices handling
authorMarek Chalupa <mchqwerty@gmail.com>
Mon, 30 Mar 2015 13:21:29 +0000 (09:21 -0400)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 31 Mar 2015 08:11:59 +0000 (11:11 +0300)
commit5fd814090e10fad6c39533852732c2bf4a967a7a
tree679f2609d51494151097f7240ead2ba193f5d726
parent8a5523c3ec7bd8b216bac610b0e9e5bdba88f68c
tests: add tests for devices handling

Test misc races when adding/releasing devices

v2.: use one roundtrip after releasing devices
     add touch support

v3.: remove useless checks
     add few comments
     repeat tests 30 times instead of 100 times
     (it took too long, 30 is enough)

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Makefile.am
tests/devices-test.c [new file with mode: 0644]