Mesa (master): mesa: Don't make building tests conditional on building DRI drivers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jan 7 22:59:28 UTC 2021


Module: Mesa
Branch: master
Commit: a7762daa67559d37a2de84150684da9ce909a31a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7762daa67559d37a2de84150684da9ce909a31a

Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Jan  6 13:15:20 2021 -0500

mesa: Don't make building tests conditional on building DRI drivers

These tests should work, and be built, even if you're only building
gallium drivers.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8353>

---

 src/mesa/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/meson.build b/src/mesa/meson.build
index d3dd1b8a7fa..7c10b0ac108 100644
--- a/src/mesa/meson.build
+++ b/src/mesa/meson.build
@@ -761,6 +761,6 @@ subdir('drivers/dri')
 if with_glx == 'xlib'
   subdir('drivers/x11')
 endif
-if with_tests and dri_drivers != []
+if with_tests
   subdir('main/tests')
 endif



More information about the mesa-commit mailing list