libdrm: add etnaviv tests
authorThe etnaviv authors <dri-devel@lists.freedesktop.org>
Tue, 6 Sep 2016 16:16:02 +0000 (18:16 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Sat, 17 Sep 2016 13:05:33 +0000 (15:05 +0200)
commit0659558f6418693ad203b5de2f1bc4fa9f28708e
tree56441f89bbbe0e017b07958606f503665f567dad
parent95e2cc6a801d92a0634b75fb02221213bd11e9da
libdrm: add etnaviv tests

This adds the following basic unit tests:

- etnaviv_2d_test
  Let the 2D core render a defined pattern into a bo
  and store it as bmp.

- etnaviv_bo_cache_test
  Basic tests to validate the bo-cache behavior.

- etnaviv_cmd_stream_test
  Tests for the etna_cmd_stream API.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
12 files changed:
.gitignore
configure.ac
tests/Makefile.am
tests/etnaviv/Makefile.am [new file with mode: 0644]
tests/etnaviv/cmdstream.xml.h [new file with mode: 0644]
tests/etnaviv/etnaviv_2d_test.c [new file with mode: 0644]
tests/etnaviv/etnaviv_bo_cache_test.c [new file with mode: 0644]
tests/etnaviv/etnaviv_cmd_stream_test.c [new file with mode: 0644]
tests/etnaviv/state.xml.h [new file with mode: 0644]
tests/etnaviv/state_2d.xml.h [new file with mode: 0644]
tests/etnaviv/write_bmp.c [new file with mode: 0644]
tests/etnaviv/write_bmp.h [new file with mode: 0644]