summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test
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
commitea79468b41ed840e9078a2910a8de73d4108c31d (patch)
tree72c15c16782e3f5d2e9e108f6fda5d8e51a15f1d /openmp/runtime/test
parent09a5bc0107e5450ad953d549766894d26171fda1 (diff)
downloadbcm5719-llvm-ea79468b41ed840e9078a2910a8de73d4108c31d.tar.gz
bcm5719-llvm-ea79468b41ed840e9078a2910a8de73d4108c31d.zip
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 llvm-svn: 349512
Diffstat (limited to 'openmp/runtime/test')
-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>
OpenPOWER on IntegriCloud