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
13 lines
310 B
Fortran
13 lines
310 B
Fortran
! RUN: %S/test_errors.sh %s %t %flang_fc1 -fimplicit-none-type-never
|
|
! REQUIRES: shell
|
|
subroutine s1
|
|
implicit none
|
|
i = j + k ! would be error without -fimplicit-none-type-never
|
|
end
|
|
|
|
subroutine s2(a, n)
|
|
implicit none
|
|
real :: a(n) ! would be error without -fimplicit-none-type-never
|
|
integer :: n
|
|
end
|