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

Author: Scott D Phillips <[email protected]>
Date:   Fri Jun  1 16:26:56 2018 -0700

util: tests: vma test depends on C++11 support

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106776
Fixes: 943fecc569 ("util: Add a randomized test for the virtual memory 
allocator")
Tested-by: Vinson Lee <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>

---

 src/util/Makefile.am | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index b51dccdadf..65794338c5 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -22,8 +22,11 @@
 SUBDIRS = . \
        xmlpool \
        tests/hash_table \
-       tests/string_buffer \
-       tests/vma
+       tests/string_buffer
+
+if HAVE_STD_CXX11
+SUBDIRS += tests/vma
+endif
 
 include Makefile.sources
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to