util: tests: vma test depends on C++11 support
authorScott D Phillips <scott.d.phillips@intel.com>
Fri, 1 Jun 2018 23:26:56 +0000 (16:26 -0700)
committerScott D Phillips <scott.d.phillips@intel.com>
Tue, 5 Jun 2018 17:13:14 +0000 (10:13 -0700)
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 <vlee@freedesktop.org>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/util/Makefile.am

index b51dccdadfd246f5b76e7fac800dd914b4c50601..65794338c5b886c65b76e7269bee2479b33d099b 100644 (file)
 SUBDIRS = . \
        xmlpool \
        tests/hash_table \
-       tests/string_buffer \
-       tests/vma
+       tests/string_buffer
+
+if HAVE_STD_CXX11
+SUBDIRS += tests/vma
+endif
 
 include Makefile.sources