summaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2018-12-18 17:39:22 +0000
committerStefan Pintilie <stefanp@ca.ibm.com>2018-12-18 17:39:22 +0000
commit128fa920697ad2bffc47341ce377c4f78afcff50 (patch)
treea61d85d00539a50277f5ddf793629622e71b15c1 /openmp
parent8267fb3ffe503c5c3bdc194ae0e1486b5b6eb661 (diff)
XFAIL Pair of OpenMP Tests for PowerPC LE Linux
XFAIL two tests that fail on PowerPC LE Linux due to the change of default from PIC to no-PIC on that platform. A Bug has been opened for this: https://bugs.llvm.org/show_bug.cgi?id=40082 The tests are: runtime/test/ompt/misc/control_tool.c runtime/test/ompt/synchronization/taskwait.c
Diffstat (limited to 'openmp')
-rw-r--r--openmp/runtime/test/lit.cfg1
-rw-r--r--openmp/runtime/test/lit.site.cfg.in1
-rw-r--r--openmp/runtime/test/ompt/misc/control_tool.c1
-rw-r--r--openmp/runtime/test/ompt/synchronization/taskwait.c1
4 files changed, 3 insertions, 1 deletions
diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index 48d2f2a2190..066929e5f42 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -55,7 +55,6 @@ if config.has_libatomic:
libs += " -latomic"
# Allow REQUIRES / UNSUPPORTED / XFAIL to work
-config.target_triple = [ ]
for feature in config.test_compiler_features:
config.available_features.add(feature)
diff --git a/openmp/runtime/test/lit.site.cfg.in b/openmp/runtime/test/lit.site.cfg.in
index 0964cfceabc..fe4a3724526 100644
--- a/openmp/runtime/test/lit.site.cfg.in
+++ b/openmp/runtime/test/lit.site.cfg.in
@@ -1,5 +1,6 @@
@AUTO_GEN_COMMENT@
+config.target_triple = "@TARGET_TRIPLE@"
config.test_c_compiler = "@OPENMP_TEST_C_COMPILER@"
config.test_cxx_compiler = "@OPENMP_TEST_CXX_COMPILER@"
config.test_compiler_features = @OPENMP_TEST_COMPILER_FEATURES@
diff --git a/openmp/runtime/test/ompt/misc/control_tool.c b/openmp/runtime/test/ompt/misc/control_tool.c
index 0c3c1b0e708..d8dad65a32e 100644
--- a/openmp/runtime/test/ompt/misc/control_tool.c
+++ b/openmp/runtime/test/ompt/misc/control_tool.c
@@ -1,6 +1,7 @@
// RUN: %libomp-compile-and-run | FileCheck %s
// REQUIRES: ompt
// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7
+// XFAIL: powerpc64le
#define TEST_NEED_PRINT_FRAME_FROM_OUTLINED_FN
#include "callback.h"
#include <omp.h>
diff --git a/openmp/runtime/test/ompt/synchronization/taskwait.c b/openmp/runtime/test/ompt/synchronization/taskwait.c
index c4310246b7e..0f36fff8abe 100644
--- a/openmp/runtime/test/ompt/synchronization/taskwait.c
+++ b/openmp/runtime/test/ompt/synchronization/taskwait.c
@@ -1,6 +1,7 @@
// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s
// REQUIRES: ompt
// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7
+// XFAIL: powerpc64le
#include "callback.h"
#include <omp.h>