-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[Flang][OpenMP] Disable all OpenMP semantics tests on Windows #92739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Flang][OpenMP] Disable all OpenMP semantics tests on Windows #92739
Conversation
@llvm/pr-subscribers-flang-openmp Author: Kiran Chandramohan (kiranchandramohan) ChangesTwo XFAILed tests are marked unsupported on all platforms, the other tests are XFAILed only on windows. Full diff: https://github.com/llvm/llvm-project/pull/92739.diff 5 Files Affected:
diff --git a/flang/test/Semantics/OpenMP/do02.f90 b/flang/test/Semantics/OpenMP/do02.f90
index 9749991e4f96b..22d9e70195ff7 100644
--- a/flang/test/Semantics/OpenMP/do02.f90
+++ b/flang/test/Semantics/OpenMP/do02.f90
@@ -1,5 +1,5 @@
! RUN: %S/test_errors.sh %s %t %flang -fopenmp
-! XFAIL: *
+! UNSUPPORTED: *
! OpenMP Version 4.5
! 2.7.1 Loop Construct
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
index 7e2e426a3fe7e..81374997d7f36 100644
--- a/flang/test/Semantics/OpenMP/taskloop03.f90
+++ b/flang/test/Semantics/OpenMP/taskloop03.f90
@@ -1,5 +1,5 @@
! RUN: %S/test_errors.sh %s %t %flang -fopenmp
-! XFAIL: *
+! UNSUPPORTED: *
! OpenMP Version 4.5
! 2.9.2 taskloop Construct
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
|
@llvm/pr-subscribers-flang-semantics Author: Kiran Chandramohan (kiranchandramohan) ChangesTwo XFAILed tests are marked unsupported on all platforms, the other tests are XFAILed only on windows. Full diff: https://github.com/llvm/llvm-project/pull/92739.diff 5 Files Affected:
diff --git a/flang/test/Semantics/OpenMP/do02.f90 b/flang/test/Semantics/OpenMP/do02.f90
index 9749991e4f96b..22d9e70195ff7 100644
--- a/flang/test/Semantics/OpenMP/do02.f90
+++ b/flang/test/Semantics/OpenMP/do02.f90
@@ -1,5 +1,5 @@
! RUN: %S/test_errors.sh %s %t %flang -fopenmp
-! XFAIL: *
+! UNSUPPORTED: *
! OpenMP Version 4.5
! 2.7.1 Loop Construct
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
index 7e2e426a3fe7e..81374997d7f36 100644
--- a/flang/test/Semantics/OpenMP/taskloop03.f90
+++ b/flang/test/Semantics/OpenMP/taskloop03.f90
@@ -1,5 +1,5 @@
! RUN: %S/test_errors.sh %s %t %flang -fopenmp
-! XFAIL: *
+! UNSUPPORTED: *
! OpenMP Version 4.5
! 2.9.2 taskloop Construct
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
|
flang/test/Semantics/OpenMP/do02.f90
Outdated
@@ -1,5 +1,5 @@ | |||
! RUN: %S/test_errors.sh %s %t %flang -fopenmp | |||
! XFAIL: * | |||
! UNSUPPORTED: * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*
does not work with UNSUPPORTED.
f582b5b
to
e6127be
Compare
To be clear where this specific list of tests came from:
|
It's also worth noting that the list is not exhaustive. I'd be rather surprised if this would fix our Windows CI problems, but it's a step in the right direction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please could you add a comment with the UNSUPPORTED directive to explain that these tests are intended to work but they may be one of the tests slowing down CI.
e6127be
to
c1c81c1
Compare
Yes. This alone did not help. I will try disabling all Semantics/OpenMP tests to see whether it helps. If it helps then I will reduce the disabled ones using the SemanticsChecked list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM so long as it does fix windows CI
Yes, that should resolve the issue with CI. I tested that yesterday. |
This (disabling all Semantics OpenMP tests) worked. So I am going to commit this now. Will reenable the tests based on the SemanticsChecked tag in a separate PR. |
Add do02.f90 and taskloop03.f90 that were removed in llvm#92739 Replace shell script tests with python. Remove XFAIL from a test that can be enabled now.
Add do02.f90 and taskloop03.f90 that were removed in llvm#92739 Replace shell script tests with python.
Add do02.f90 and taskloop03.f90 that were removed in #92739 Replace shell script tests with python.
Removes two XFAILed tests, the other tests are marked UNSUPPORTED only on windows.