meson: only build mesa_st tests when build-tests is true
authorDylan Baker <dylan@pnwbakers.com>
Wed, 18 Apr 2018 16:29:35 +0000 (09:29 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 24 Apr 2018 21:08:15 +0000 (14:08 -0700)
commitc73abb4f824f70a0dc776389009336121c1d3405
treef450d6b3ce95d361b8b0003ab8a2baa264bb504e
parentaaab6242456a4a5e737da0add179704b0b6f3676
meson: only build mesa_st tests when build-tests is true

Since we have an option to turn test building on and off, we should
honor that.

Fixes: 34cb4d0ebc14663113705beae63dd52b9d1b2d87
       ("meson: build tests for gallium mesa state tracker")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/meson.build