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
6 lines
175 B
Fortran
6 lines
175 B
Fortran
! RUN: echo -n "end program" > %t.f90
|
|
! RUN: %flang_fc1 -fsyntax-only %t.f90
|
|
! RUN: echo -ne "\rend program" > %t.f90
|
|
! RUN: %flang_fc1 -fsyntax-only %t.f90
|
|
! REQUIRES: shell
|