[Openmp-commits] [openmp] [OpenMP] Mark Failing OpenMP Tests as XFAIL on Windows (PR #129040)
Omair Javaid via Openmp-commits
openmp-commits at lists.llvm.org
Thu Feb 27 03:33:05 PST 2025
https://github.com/omjavaid created https://github.com/llvm/llvm-project/pull/129040
This patch marks specific OpenMP runtime tests as XFAIL on Windows due to failures reported in #129023
>From 49b7226b51d598b3dacc7001a61819413a524221 Mon Sep 17 00:00:00 2001
From: Muhammad Omair Javaid <omair.javaid at linaro.org>
Date: Thu, 27 Feb 2025 13:55:06 +0500
Subject: [PATCH] [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 #129023
---
openmp/runtime/test/lit.cfg | 3 +++
openmp/runtime/test/transform/interchange/iterfor.cpp | 1 +
openmp/runtime/test/transform/tile/iterfor.cpp | 1 +
.../worksharing/for/omp_for_collapse_LowerTriangularLess.c | 1 +
.../for/omp_for_collapse_LowerTriangularLessEqual.c | 1 +
.../test/worksharing/for/omp_for_collapse_UpperTriangular.c | 1 +
6 files changed, 8 insertions(+)
diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index 14c7468982137..300ac7a7e9444 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -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.operating_system == 'Windows':
+ config.available_features.add("windows")
+
target_arch = getattr(config, 'target_arch', None)
if target_arch:
config.available_features.add(target_arch + '-target-arch')
diff --git a/openmp/runtime/test/transform/interchange/iterfor.cpp b/openmp/runtime/test/transform/interchange/iterfor.cpp
index 51219a07402e3..de344d17b4b2a 100644
--- a/openmp/runtime/test/transform/interchange/iterfor.cpp
+++ b/openmp/runtime/test/transform/interchange/iterfor.cpp
@@ -1,3 +1,4 @@
+// XFAIL: windows
// RUN: %libomp-cxx20-compile-and-run | FileCheck %s --match-full-lines
#ifndef HEADER
diff --git a/openmp/runtime/test/transform/tile/iterfor.cpp b/openmp/runtime/test/transform/tile/iterfor.cpp
index 12613544f6e5b..94f7b958886bb 100644
--- a/openmp/runtime/test/transform/tile/iterfor.cpp
+++ b/openmp/runtime/test/transform/tile/iterfor.cpp
@@ -1,3 +1,4 @@
+// XFAIL: windows
// RUN: %libomp-cxx20-compile-and-run | FileCheck %s --match-full-lines
#ifndef HEADER
diff --git a/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLess.c b/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLess.c
index 9d742066cf1fc..0ce3f515a4f9d 100644
--- a/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLess.c
+++ b/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLess.c
@@ -1,3 +1,4 @@
+// XFAIL: windows
// RUN: %libomp-compile-and-run
#include <stdio.h>
#include <stdlib.h>
diff --git a/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLessEqual.c b/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLessEqual.c
index 154ee0f69daa5..8b341aa57dc09 100644
--- a/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLessEqual.c
+++ b/openmp/runtime/test/worksharing/for/omp_for_collapse_LowerTriangularLessEqual.c
@@ -1,3 +1,4 @@
+// XFAIL: windows
// RUN: %libomp-compile-and-run
#include <stdio.h>
#include <stdlib.h>
diff --git a/openmp/runtime/test/worksharing/for/omp_for_collapse_UpperTriangular.c b/openmp/runtime/test/worksharing/for/omp_for_collapse_UpperTriangular.c
index 452410025be0c..0a886091a482c 100644
--- a/openmp/runtime/test/worksharing/for/omp_for_collapse_UpperTriangular.c
+++ b/openmp/runtime/test/worksharing/for/omp_for_collapse_UpperTriangular.c
@@ -1,3 +1,4 @@
+// XFAIL: windows
// RUN: %libomp-compile-and-run
#include <stdio.h>
#include <stdlib.h>
More information about the Openmp-commits
mailing list