Files
llvm/flang/test/Semantics/missing_newline.f90
Aiden Grossman 3e17864e76 [Flang] Make all tests work with lit's internal shell
This patch removes REQUIRES: shell lines and updates the tests to not
need a shell, or adds REQUIRES lines for Linux where relevant. A lot of
these seem to have gotten introduced in
58c3f20bbf, but many are no longer
relevant as these tests no longer use shell scripts.

There was one test (missing_newline.f90) that needed to be modified to
work. Lit doesn't recognize -ne correctly for echo and the options need
to be split into separate flags.

Reviewers: clementval, Meinersbur, kiranchandramohan, klausler

Reviewed By: clementval

Pull Request: https://github.com/llvm/llvm-project/pull/156115
2025-08-29 15:58:03 -07:00

5 lines
159 B
Fortran

! RUN: echo -n "end program" > %t.f90
! RUN: %flang_fc1 -fsyntax-only %t.f90
! RUN: echo -n -e "\rend program" > %t.f90
! RUN: %flang_fc1 -fsyntax-only %t.f90