[PATCH] D100174: [flang][driver] Remove `%flang-new` from the LIT configuration

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 9 03:54:31 PDT 2021


awarzynski created this revision.
Herald added a reviewer: sscalpone.
awarzynski requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

`%flang-new` was introduced in the early days of the new driver to make
a clear distinction between the tests for the current and the new
driver. We have since introduced `%flang` (compiler driver) and
`%flang_fc1` (frontend driver) as the long term solution. This has allowed
us to share tests between `flang-new` and `f18`. This patch replaces
all uses of `%flang-new` with `%flang` and `%flang_fc1`.

Some tests are reformatted so that all tests look uniform and are easier
to follow. Where possible, `! REQUIRES: new-flang-driver` is deleted so
that more tests can be shared with `f18`. To facilitate this,
`f{no-}implicit-none` are introduced in `f18` with semantics identical
to `flang-new`.

Two tests are deleted rather than updated:

- flang/test/Frontend/print-preprocess-C-file.f90
- flang/test/Frontend/print-preprocessed-file.f90

Instead, there is plenty of preprocessor tests in
flang/test/Preprocessing/.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100174

Files:
  flang/test/Driver/code-gen.f90
  flang/test/Driver/debug-measure-parse-tree.f90
  flang/test/Driver/driver-error-cc1.c
  flang/test/Driver/driver-error-cc1.cpp
  flang/test/Driver/driver-help-hidden.f90
  flang/test/Driver/driver-help.f90
  flang/test/Driver/driver-version.f90
  flang/test/Driver/escaped-backslash.f90
  flang/test/Driver/fixed-free-detection.f90
  flang/test/Driver/fixed-free-flag.f90
  flang/test/Driver/fixed-line-length.f90
  flang/test/Driver/frontend-forwarding.f90
  flang/test/Driver/implicit-none.f90
  flang/test/Driver/include-header.f90
  flang/test/Driver/macro-multiline.F90
  flang/test/Driver/missing-input.f90
  flang/test/Driver/parse-error.f95
  flang/test/Driver/phases.f90
  flang/test/Driver/scanning-error.f95
  flang/test/Driver/syntax-only.f90
  flang/test/Frontend/Inputs/hello-world.c
  flang/test/Frontend/input-output-file.f90
  flang/test/Frontend/multiple-input-files.f90
  flang/test/Frontend/prescanner-diag.f90
  flang/test/Frontend/print-preprocess-C-file.f90
  flang/test/Frontend/print-preprocessed-file.f90
  flang/test/lit.cfg.py
  flang/tools/f18/f18.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100174.336383.patch
Type: text/x-patch
Size: 39658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210409/14cd76e2/attachment.bin>


More information about the llvm-commits mailing list