[flang-commits] [flang] [Flang][OpenMP] Disable a few long running tests (PR #92739)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Mon May 20 04:26:35 PDT 2024
https://github.com/kiranchandramohan updated https://github.com/llvm/llvm-project/pull/92739
>From e6127bea8abed4f6bd71b1835084ea0e1bb90150 Mon Sep 17 00:00:00 2001
From: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: Mon, 20 May 2024 10:58:25 +0000
Subject: [PATCH] [Flang][OpenMP] Disable a few long running tests
Two XFAILed tests are marked unsupported on all platforms, the
other tests are XFAILed only on windows.
---
flang/test/Semantics/OpenMP/do02.f90 | 21 ------------------
flang/test/Semantics/OpenMP/taskloop01.f90 | 1 +
flang/test/Semantics/OpenMP/taskloop02.f90 | 1 +
flang/test/Semantics/OpenMP/taskloop03.f90 | 25 ----------------------
flang/test/Semantics/OpenMP/taskwait.f90 | 1 +
5 files changed, 3 insertions(+), 46 deletions(-)
delete mode 100644 flang/test/Semantics/OpenMP/do02.f90
delete mode 100644 flang/test/Semantics/OpenMP/taskloop03.f90
diff --git a/flang/test/Semantics/OpenMP/do02.f90 b/flang/test/Semantics/OpenMP/do02.f90
deleted file mode 100644
index 9749991e4f96b..0000000000000
--- a/flang/test/Semantics/OpenMP/do02.f90
+++ /dev/null
@@ -1,21 +0,0 @@
-! RUN: %S/test_errors.sh %s %t %flang -fopenmp
-! XFAIL: *
-
-! OpenMP Version 4.5
-! 2.7.1 Loop Construct
-! Exit statement terminating !$OMP DO loop
-
-program omp_do
- integer i, j, k
-
- !$omp do
- do i = 1, 10
- do j = 1, 10
- print *, "Hello"
- end do
- !ERROR: EXIT statement terminating !$OMP DO loop
- exit
- end do
- !$omp end do
-
-end program omp_do
diff --git a/flang/test/Semantics/OpenMP/taskloop01.f90 b/flang/test/Semantics/OpenMP/taskloop01.f90
index 6bef584381518..d91183f55af99 100644
--- a/flang/test/Semantics/OpenMP/taskloop01.f90
+++ b/flang/test/Semantics/OpenMP/taskloop01.f90
@@ -1,6 +1,7 @@
! RUN: %python %S/../test_errors.py %s %flang -fopenmp
! OpenMP Version 4.5
! 2.9.2 taskloop Construct
+! UNSUPPORTED: system-windows
subroutine parallel_work
integer i
diff --git a/flang/test/Semantics/OpenMP/taskloop02.f90 b/flang/test/Semantics/OpenMP/taskloop02.f90
index 867ef8a9806d9..8afe5ec9eefd9 100644
--- a/flang/test/Semantics/OpenMP/taskloop02.f90
+++ b/flang/test/Semantics/OpenMP/taskloop02.f90
@@ -2,6 +2,7 @@
! OpenMP Version 4.5
! 2.9.2 taskloop Construct
! Invalid entry to OpenMP structured block.
+! UNSUPPORTED: system-windows
program omp_taskloop
integer i , j
diff --git a/flang/test/Semantics/OpenMP/taskloop03.f90 b/flang/test/Semantics/OpenMP/taskloop03.f90
deleted file mode 100644
index 7e2e426a3fe7e..0000000000000
--- a/flang/test/Semantics/OpenMP/taskloop03.f90
+++ /dev/null
@@ -1,25 +0,0 @@
-! RUN: %S/test_errors.sh %s %t %flang -fopenmp
-! XFAIL: *
-
-! OpenMP Version 4.5
-! 2.9.2 taskloop Construct
-! All loops associated with the taskloop construct must be perfectly nested,
-! there must be no intervening code or any OpenMP directive between
-! any two loops
-
-program omp_taskloop
- integer i, j
-
- !$omp taskloop private(j) grainsize(500) nogroup
- do i=1, 10000
- do j=1, i
- call loop_body(i, j)
- end do
- !ERROR: Loops associated with !$omp taskloop is not perfectly nested
- !$omp single
- print *, "omp single"
- !$omp end single
- end do
- !$omp end taskloop
-
-end program omp_taskloop
diff --git a/flang/test/Semantics/OpenMP/taskwait.f90 b/flang/test/Semantics/OpenMP/taskwait.f90
index e60051c9da8ac..ba39a4b5e2447 100644
--- a/flang/test/Semantics/OpenMP/taskwait.f90
+++ b/flang/test/Semantics/OpenMP/taskwait.f90
@@ -1,4 +1,5 @@
! RUN: %python %S/../test_errors.py %s %flang -fopenmp
+! UNSUPPORTED: system-windows
!$omp taskwait
end
More information about the flang-commits
mailing list