summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-18 10:53:27 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-04-27 10:11:58 -0700
commit7a6e084b410700d8a4348575c6814d5ce1076298 (patch)
treeb97b9d830b578facfe23628cd132acab3aa6bb99
parent762c07b5a0b3495b372c3b81e595c563d648a70c (diff)
meson: don't build classic mesa tests without dri_drivers
Since mesa_classic is build-on-demand the tests will create a demand and add a bunch of extra compilation. Fixes: 43a6e84927e3b1290f6f211f5dfb184dfe5a719e ("meson: build mesa test.") Signed-off-by: Dylan Baker <dylan.c.baker@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit aaab6242456a4a5e737da0add179704b0b6f3676)
-rw-r--r--src/mesa/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/meson.build b/src/mesa/meson.build
index 30954beac54..3100dfc50f6 100644
--- a/src/mesa/meson.build
+++ b/src/mesa/meson.build
@@ -732,6 +732,6 @@ endif
if with_glx == 'xlib'
subdir('drivers/x11')
endif
-if with_tests
+if with_tests and dri_drivers != []
subdir('main/tests')
endif