state_tracker: Move the format test out to be an actual unit test.
authorEric Anholt <eric@anholt.net>
Mon, 1 Jul 2019 20:06:09 +0000 (13:06 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Jul 2019 19:51:13 +0000 (12:51 -0700)
commitf8c27c277585141f2d2732732a8c64c7d40f0961
tree73c8b5b59a3dc07f7d39b17d2e7333fa98e069d9
parent9eccae671ef9a49162783090b7d0052272386a74
state_tracker: Move the format test out to be an actual unit test.

We want errors in the table to show up as unit test failures in MRs.
Also keeps unit test code out of the built drivers.

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/tests/meson.build
src/mesa/state_tracker/tests/st_format.c [new file with mode: 0644]