From 32025a251038b53a9c3227de47610b434077c43c Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 27 Feb 2011 21:37:34 -0500 Subject: [PATCH] disable BVH test on Clang++. Looks like there's a good reason why BVH is unsupported. It seems to have a very weird usage pattern, relying on an externally defined bounding_box function in a naive way. --- unsupported/test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index d3ed2b515..660bfad41 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt @@ -67,7 +67,11 @@ endif(ADOLC_FOUND) ei_add_test(NumericalDiff) ei_add_test(autodiff) + +if (NOT CMAKE_CXX_COMPILER MATCHES "clang\\+\\+$") ei_add_test(BVH) +endif() + ei_add_test(matrix_exponential) ei_add_test(matrix_function) ei_add_test(alignedvector3)