From f075760317663d60181183ad1643953f91b07be3 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Sat, 19 Jun 2021 22:23:02 -0500 Subject: [PATCH] [Flang][test] Fix Windows buildbot. Add REQUIRES: shell to tests that execute a UNIX shell script to not run on Windows. --- flang/test/Evaluate/folding20.f90 | 1 + flang/test/Semantics/call19.f90 | 1 + flang/test/Semantics/omp-allocate08.f90 | 1 + flang/test/Semantics/omp-nested-barrier.f90 | 1 + 4 files changed, 4 insertions(+) diff --git a/flang/test/Evaluate/folding20.f90 b/flang/test/Evaluate/folding20.f90 index f84e033..dcb30d8 100644 --- a/flang/test/Evaluate/folding20.f90 +++ b/flang/test/Evaluate/folding20.f90 @@ -1,4 +1,5 @@ ! RUN: %S/test_folding.sh %s %t %flang_fc1 +! REQUIRES: shell ! Tests intrinsic MAXVAL/MINVAL function folding module m logical, parameter :: test_imaxidentity = maxval([integer::]) == -huge(0) - 1 diff --git a/flang/test/Semantics/call19.f90 b/flang/test/Semantics/call19.f90 index 20edb16..d102eb6 100644 --- a/flang/test/Semantics/call19.f90 +++ b/flang/test/Semantics/call19.f90 @@ -1,4 +1,5 @@ ! RUN: %S/test_errors.sh %s %t %flang_fc1 +! REQUIRES: shell ! Ensures that things that aren't procedures aren't allowed to be called. module m integer :: i diff --git a/flang/test/Semantics/omp-allocate08.f90 b/flang/test/Semantics/omp-allocate08.f90 index 42caef9..8d524ef 100644 --- a/flang/test/Semantics/omp-allocate08.f90 +++ b/flang/test/Semantics/omp-allocate08.f90 @@ -1,4 +1,5 @@ ! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp +! REQUIRES: shell ! OpenMP Version 5.0 ! 2.11.3 allocate Directive ! If list items within the ALLOCATE directive have the SAVE attribute, are a common block name, or are declared in the scope of a diff --git a/flang/test/Semantics/omp-nested-barrier.f90 b/flang/test/Semantics/omp-nested-barrier.f90 index 7b9f04d..63428b1 100644 --- a/flang/test/Semantics/omp-nested-barrier.f90 +++ b/flang/test/Semantics/omp-nested-barrier.f90 @@ -1,4 +1,5 @@ ! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp +! REQUIRES: shell ! OpenMP Version 4.5 ! Various checks with the nesting of BARRIER construct -- 2.7.4