[all-commits] [llvm/llvm-project] 49acab: [flang][nfc] Relocate a few driver tests

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Fri Oct 7 10:04:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49acab3f1408be9439a57833aa7b67678c9a05ba
      https://github.com/llvm/llvm-project/commit/49acab3f1408be9439a57833aa7b67678c9a05ba
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    A flang/test/Driver/Inputs/empty.h
    M flang/test/Driver/Inputs/hello.f90
    A flang/test/Driver/input-output-file.f90
    A flang/test/Driver/multiple-input-files.f90
    A flang/test/Driver/prescanner-diag.f90
    R flang/test/Frontend/Inputs/empty.h
    R flang/test/Frontend/Inputs/hello-world.f90
    R flang/test/Frontend/input-output-file.f90
    R flang/test/Frontend/multiple-input-files.f90
    R flang/test/Frontend/prescanner-diag.f90

  Log Message:
  -----------
  [flang][nfc] Relocate a few driver tests

When the work on the Flang driver started, we created 2 test
directories:
  * flang/test/Frontend/
  * flang/test/Driver/
That was mostly done to model what Clang was doing. In practice, we
stopped using "flang/test/Frontend/" early on and most Flang driver
tests are currently located in "flang/test/Driver/". This patch moves
the remaining tests from the latter into the former directory.

This change also means that we can re-use test input files, i.e.
flang/test/Frontend/Inputs/hello-world.f90 can be replaced with
flang/test/Driver/Inputs/hello.f90. To this end, the affected test is
updated (multiple-input-files.f90).

Differential Revision: https://reviews.llvm.org/D130633




More information about the All-commits mailing list