Allow the lit test suite to run under Windows. This encompasses the following changes: * Define `lit_tools_dir` for flang's test configuration * Replace `(<command> || true)` idiom with `not <command>` * Add `REQUIRES: shell` on tests that invoke a shell script Reviewed By: awarzynski Differential Revision: https://reviews.llvm.org/D89368
12 lines
271 B
Fortran
12 lines
271 B
Fortran
! RUN: %S/test_errors.sh %s %t %flang_fc1
|
|
! REQUIRES: shell
|
|
!C1132
|
|
! If the do-stmt is a nonlabel-do-stmt, the corresponding end-do shall be an
|
|
! end-do-stmt.
|
|
subroutine s1()
|
|
do while (.true.)
|
|
print *, "Hello"
|
|
continue
|
|
!ERROR: expected 'END DO'
|
|
end subroutine s1
|