From b13701f02fcd0c66a76e5ad6525347a4f996494a Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Tue, 30 Oct 2018 10:49:48 +0100
Subject: [PATCH] [cmake] Skip all transpose tests on Clang - CI does not
 accept my partial exclusion

---
 dune/perftool/test/CMakeLists.txt | 12 ++++++++----
 dune/perftool/test/transpose.mini |  3 ---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/dune/perftool/test/CMakeLists.txt b/dune/perftool/test/CMakeLists.txt
index d0fffd20..69aeb190 100644
--- a/dune/perftool/test/CMakeLists.txt
+++ b/dune/perftool/test/CMakeLists.txt
@@ -1,4 +1,8 @@
-dune_add_system_test(SOURCE test_transpose.cc
-                     BASENAME test_transpose
-                     INIFILE transpose.mini
-                     )
+# There is a clang bug for a 16x8 transpose and I did not manage to include
+# only that one due to a weirdness in CI - it worked on my machine through testtools.
+if(NOT("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"))
+  dune_add_system_test(SOURCE test_transpose.cc
+                       BASENAME test_transpose
+                       INIFILE transpose.mini
+                       )
+endif()
diff --git a/dune/perftool/test/transpose.mini b/dune/perftool/test/transpose.mini
index 75891f51..53a31e14 100644
--- a/dune/perftool/test/transpose.mini
+++ b/dune/perftool/test/transpose.mini
@@ -6,9 +6,6 @@ __exec_suffix = {__static.BASETYPE}_{__static.N}x{__static.M}
 {__static.N} == 2 and {shorttype} == f | exclude
 {__static.N} == 16 and {shorttype} == d | exclude
 
-# This transpose is bugged in clang - urgh!
-( $\{CMAKE_CXX_COMPILER_ID\} STREQUAL Clang ) AND ( {__static.N} STREQUAL 16 ) | cmake_guard
-
 # These transposes are not yet implemented
 {__static.M} == 16 | exclude
 
-- 
GitLab