aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2017-12-21 13:55:16 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2017-12-21 13:55:16 +0000
commitad36fb50c7bee336f628ead344de16f6e95a8d78 (patch)
treeb98a2a39dfc7c3bc32dd0544c92280eee6761287 /cmake
parentf8f48669a0e6a7f8236cea600313f44381d46584 (diff)
[OMPT] Add annotations to testcases that are expected to fail when using certain compilers
Reasons for expected failures are mainly bugs when using lables in OpenMP regions or missing support of some OpenMP features. For some worksharing clauses, support to distinguish the kind of workshare was added just recently. If an issue was fixed in a minor release version of a compiler, we flag the test as unsupported for this compiler version to avoid false positives. Same for fixes that where backported to older compiler versions. Differential Revision: https://reviews.llvm.org/D40384 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@321262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/OpenMPTesting.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/OpenMPTesting.cmake b/cmake/OpenMPTesting.cmake
index 9092ffb..1cff9ec 100644
--- a/cmake/OpenMPTesting.cmake
+++ b/cmake/OpenMPTesting.cmake
@@ -124,6 +124,8 @@ endif()
function(set_test_compiler_features)
if ("${OPENMP_TEST_COMPILER_ID}" STREQUAL "GNU")
set(comp "gcc")
+ elseif ("${OPENMP_TEST_COMPILER_ID}" STREQUAL "Intel")
+ set(comp "icc")
else()
# Just use the lowercase of the compiler ID as fallback.
string(TOLOWER "${OPENMP_TEST_COMPILER_ID}" comp)