mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-15 22:16:30 +00:00
[OpenMP] Mark Failing OpenMP Tests as XFAIL on Windows (#129040)
This patch marks specific OpenMP runtime tests as XFAIL on Windows due to failures reported in #129023
This commit is contained in:
parent
919d293176
commit
3a41c7b483
@ -137,6 +137,9 @@ if config.operating_system in ['Windows', 'Linux', 'FreeBSD', 'NetBSD', 'DragonF
|
||||
if config.operating_system in ['Linux']:
|
||||
config.available_features.add('hidden-helper')
|
||||
|
||||
if config.compiler_frontend_variant == 'MSVC' or config.compiler_simulate_id == 'MSVC':
|
||||
config.available_features.add("msvc")
|
||||
|
||||
target_arch = getattr(config, 'target_arch', None)
|
||||
if target_arch:
|
||||
config.available_features.add(target_arch + '-target-arch')
|
||||
|
@ -21,6 +21,8 @@ config.has_libatomic = @LIBOMP_HAVE_LIBATOMIC@
|
||||
config.is_standalone_build = @OPENMP_STANDALONE_BUILD@
|
||||
config.has_omit_frame_pointer_flag = @OPENMP_TEST_COMPILER_HAS_OMIT_FRAME_POINTER_FLAGS@
|
||||
config.target_arch = "@LIBOMP_ARCH@"
|
||||
config.compiler_frontend_variant = "@CMAKE_C_COMPILER_FRONTEND_VARIANT@"
|
||||
config.compiler_simulate_id = "@CMAKE_C_SIMULATE_ID@"
|
||||
|
||||
# Let the main config do the real work.
|
||||
lit_config.load_config(config, "@LIBOMP_BASE_DIR@/test/lit.cfg")
|
||||
|
@ -1,3 +1,5 @@
|
||||
// XFAIL: msvc
|
||||
// Fails on windows due to issue #129023
|
||||
// RUN: %libomp-cxx20-compile-and-run | FileCheck %s --match-full-lines
|
||||
|
||||
#ifndef HEADER
|
||||
|
@ -1,3 +1,5 @@
|
||||
// XFAIL: msvc
|
||||
// Fails on windows due to issue #129023
|
||||
// RUN: %libomp-cxx20-compile-and-run | FileCheck %s --match-full-lines
|
||||
|
||||
#ifndef HEADER
|
||||
|
@ -1,3 +1,5 @@
|
||||
// XFAIL: msvc
|
||||
// Fails on windows due to issue #129023
|
||||
// RUN: %libomp-compile-and-run
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,3 +1,5 @@
|
||||
// XFAIL: msvc
|
||||
// Fails on windows due to issue #129023
|
||||
// RUN: %libomp-compile-and-run
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,3 +1,5 @@
|
||||
// XFAIL: msvc
|
||||
// Fails on windows due to issue #129023
|
||||
// RUN: %libomp-compile-and-run
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user