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
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@349512 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/runtime/test/lit.cfg b/runtime/test/lit.cfg
index 48d2f2a..066929e 100644
--- a/runtime/test/lit.cfg
+++ b/runtime/test/lit.cfg
@@ -55,7 +55,6 @@
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/runtime/test/lit.site.cfg.in b/runtime/test/lit.site.cfg.in
index 0964cfc..fe4a372 100644
--- a/runtime/test/lit.site.cfg.in
+++ b/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/runtime/test/ompt/misc/control_tool.c b/runtime/test/ompt/misc/control_tool.c
index 0c3c1b0..d8dad65 100644
--- a/runtime/test/ompt/misc/control_tool.c
+++ b/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/runtime/test/ompt/synchronization/taskwait.c b/runtime/test/ompt/synchronization/taskwait.c
index c431024..0f36fff 100644
--- a/runtime/test/ompt/synchronization/taskwait.c
+++ b/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>