dri: Reuse dri_test.c for stub glapi symbols for unit testing.
authorEric Anholt <eric@anholt.net>
Thu, 2 Feb 2012 13:11:08 +0000 (14:11 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 17 Sep 2012 19:32:51 +0000 (12:32 -0700)
commit5dafee1853b6eac164f69d4e65658dc34785ccf9
tree5b6500bef94e0bf111d274e68a6007f21aa2d7a4
parent3f98ba9c43eabf6f88d15375cfc80ee35c425077
dri: Reuse dri_test.c for stub glapi symbols for unit testing.

This file is used to provide stubs for the link test in gallium dri drivers.
But the same stubs without the main can be used for making unit tests for code
in a dri driver.

Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/common/Makefile.am
src/mesa/drivers/dri/common/dri_test.c