[flang] Test cleanup
authorTim Keith <tkeith@nvidia.com>
Mon, 16 Mar 2020 17:46:17 +0000 (10:46 -0700)
committerTim Keith <tkeith@nvidia.com>
Mon, 16 Mar 2020 17:46:17 +0000 (10:46 -0700)
Fix omp-nested01.f90 so that it is not an expected failure. The test was
never enabled but I'm guessing this is what it's supposed to do.

Fix the instructions to include "make test" as part of running tests.

Original-commit: flang-compiler/f18@c351181cabb234f73cb09c23e45dfe0bfc2d7219
Reviewed-on: https://github.com/flang-compiler/f18/pull/1075

flang/README.md
flang/test/Semantics/omp-nested01.f90

index 9df131d..d8e2cbd 100644 (file)
@@ -224,7 +224,7 @@ To run all tests:
 ```
 cd ~/f18/build
 cmake -DLLVM_DIR=$LLVM ~/f18/src
-make check-all
+make test check-all
 ```
 
 To run individual regression tests llvm-lit needs to know the lit
index 0e72202..1c0e84a 100644 (file)
@@ -1,5 +1,4 @@
 ! RUN: %S/test_errors.sh %s %flang %t
-!XFAIL: *
 ! OPTIONS: -fopenmp
 
 ! Check OpenMP 2.17 Nesting of Regions
@@ -9,7 +8,7 @@
   do i = 1, N
      !ERROR: A worksharing region may not be closely nested inside a worksharing, explicit task, taskloop, critical, ordered, atomic, or master region
      !$omp do
-     do i = 1, N
+     do j = 1, N
         a = 3.14
      enddo
   enddo