[flang-commits] [flang] f075760 - [Flang][test] Fix Windows buildbot.

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Sat Jun 19 20:27:26 PDT 2021


Author: Michael Kruse
Date: 2021-06-19T22:23:02-05:00
New Revision: f075760317663d60181183ad1643953f91b07be3

URL: https://github.com/llvm/llvm-project/commit/f075760317663d60181183ad1643953f91b07be3
DIFF: https://github.com/llvm/llvm-project/commit/f075760317663d60181183ad1643953f91b07be3.diff

LOG: [Flang][test] Fix Windows buildbot.

Add

    REQUIRES: shell

to tests that execute a UNIX shell script to not run on Windows.

Added: 
    

Modified: 
    flang/test/Evaluate/folding20.f90
    flang/test/Semantics/call19.f90
    flang/test/Semantics/omp-allocate08.f90
    flang/test/Semantics/omp-nested-barrier.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Evaluate/folding20.f90 b/flang/test/Evaluate/folding20.f90
index f84e033175b6b..dcb30d8598fd8 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 20edb167581fc..d102eb687d0c6 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 42caef9505e2f..8d524efb54c57 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 7b9f04d98ff88..63428b12f1c9f 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
 


        


More information about the flang-commits mailing list