Skip to content

Commit 49b7226

Browse files
committed
[OpenMP] Mark Failing OpenMP Tests as XFAIL on Windows
This patch marks specific OpenMP runtime tests as XFAIL on Windows due to failures reported in llvm#129023
1 parent f6262fa commit 49b7226

File tree

6 files changed

+8
-0
lines changed

6 files changed

+8
-0
lines changed

openmp/runtime/test/lit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ if config.operating_system in ['Windows', 'Linux', 'FreeBSD', 'NetBSD', 'DragonF
137137
if config.operating_system in ['Linux']:
138138
config.available_features.add('hidden-helper')
139139

140+
if config.operating_system == 'Windows':
141+
config.available_features.add("windows")
142+
140143
target_arch = getattr(config, 'target_arch', None)
141144
if target_arch:
142145
config.available_features.add(target_arch + '-target-arch')

openmp/runtime/test/transform/interchange/iterfor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: windows
12
// RUN: %libomp-cxx20-compile-and-run | FileCheck %s --match-full-lines
23

34
#ifndef HEADER

openmp/runtime/test/transform/tile/iterfor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: windows
12
// RUN: %libomp-cxx20-compile-and-run | FileCheck %s --match-full-lines
23

34
#ifndef HEADER

openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLess.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: windows
12
// RUN: %libomp-compile-and-run
23
#include <stdio.h>
34
#include <stdlib.h>

openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLessEqual.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: windows
12
// RUN: %libomp-compile-and-run
23
#include <stdio.h>
34
#include <stdlib.h>

openmp/runtime/test/worksharing/for/omp_for_collapse_UpperTriangular.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: windows
12
// RUN: %libomp-compile-and-run
23
#include <stdio.h>
34
#include <stdlib.h>

0 commit comments

Comments
 (0)