[all-commits] [llvm/llvm-project] 45da49: [flang][driver] Merge test/Driver and test/Flang-D...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Wed Mar 10 03:40:29 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45da495f73d83b4c1400bf5896765d7883bd67e2
      https://github.com/llvm/llvm-project/commit/45da495f73d83b4c1400bf5896765d7883bd67e2
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    A flang/test/Driver/Inputs/basic-header-one.h
    A flang/test/Driver/Inputs/basic-header-two.h
    A flang/test/Driver/Inputs/basictestmoduleone.mod
    A flang/test/Driver/Inputs/fixed-form-test.f
    A flang/test/Driver/Inputs/fixed-line-length-test.f
    A flang/test/Driver/Inputs/free-form-test.f90
    A flang/test/Driver/Inputs/header-dir/basic-header-one.h
    A flang/test/Driver/Inputs/header-dir/basic-header-two.h
    A flang/test/Driver/Inputs/module-dir/basictestmoduleone.mod
    A flang/test/Driver/Inputs/module-dir/basictestmoduletwo.mod
    A flang/test/Driver/code-gen.f90
    A flang/test/Driver/debug-measure-parse-tree.f90
    A flang/test/Driver/debug-provenance.f90
    A flang/test/Driver/driver-error-cc1.c
    A flang/test/Driver/driver-error-cc1.cpp
    A flang/test/Driver/driver-help-hidden.f90
    A flang/test/Driver/driver-help.f90
    A flang/test/Driver/driver-version.f90
    A flang/test/Driver/escaped-backslash.f90
    A flang/test/Driver/fdefault.f90
    A flang/test/Driver/fixed-free-detection.f90
    A flang/test/Driver/fixed-free-flag.f90
    A flang/test/Driver/fixed-line-length.f90
    A flang/test/Driver/flarge_sizes.f90
    A flang/test/Driver/frontend-forwarding.f90
    A flang/test/Driver/help-f18.f90
    R flang/test/Driver/help.f90
    A flang/test/Driver/implicit-none.f90
    A flang/test/Driver/include-header.f90
    A flang/test/Driver/input-from-stdin.f90
    A flang/test/Driver/macro-def-undef.f90
    A flang/test/Driver/macro-multiline.f90
    A flang/test/Driver/missing-input.f90
    R flang/test/Driver/no-files.f90
    A flang/test/Driver/parse-error.f95
    A flang/test/Driver/phases.f90
    A flang/test/Driver/predefined-macros-compiler-version.f90
    A flang/test/Driver/scanning-error.f95
    A flang/test/Driver/syntax-only.f90
    A flang/test/Driver/use-module-error.f90
    A flang/test/Driver/use-module.f90
    R flang/test/Driver/version-test.f90
    M flang/test/Driver/write-module.f90
    R flang/test/Flang-Driver/Inputs/basic-header-one.h
    R flang/test/Flang-Driver/Inputs/basic-header-two.h
    R flang/test/Flang-Driver/Inputs/basictestmoduleone.mod
    R flang/test/Flang-Driver/Inputs/fixed-form-test.f
    R flang/test/Flang-Driver/Inputs/fixed-line-length-test.f
    R flang/test/Flang-Driver/Inputs/free-form-test.f90
    R flang/test/Flang-Driver/Inputs/header-dir/basic-header-one.h
    R flang/test/Flang-Driver/Inputs/header-dir/basic-header-two.h
    R flang/test/Flang-Driver/Inputs/module-dir/basictestmoduleone.mod
    R flang/test/Flang-Driver/Inputs/module-dir/basictestmoduletwo.mod
    R flang/test/Flang-Driver/code-gen.f90
    R flang/test/Flang-Driver/debug-measure-parse-tree.f90
    R flang/test/Flang-Driver/debug-provenance.f90
    R flang/test/Flang-Driver/driver-error-cc1.c
    R flang/test/Flang-Driver/driver-error-cc1.cpp
    R flang/test/Flang-Driver/driver-help-hidden.f90
    R flang/test/Flang-Driver/driver-help.f90
    R flang/test/Flang-Driver/driver-version.f90
    R flang/test/Flang-Driver/escaped-backslash.f90
    R flang/test/Flang-Driver/fdefault.f90
    R flang/test/Flang-Driver/fixed-free-detection.f90
    R flang/test/Flang-Driver/fixed-free-flag.f90
    R flang/test/Flang-Driver/fixed-line-length.f90
    R flang/test/Flang-Driver/flarge_sizes.f90
    R flang/test/Flang-Driver/frontend-forwarding.f90
    R flang/test/Flang-Driver/implicit-none.f90
    R flang/test/Flang-Driver/include-header.f90
    R flang/test/Flang-Driver/input-from-stdin.f90
    R flang/test/Flang-Driver/macro-def-undef.f90
    R flang/test/Flang-Driver/macro-multiline.f90
    R flang/test/Flang-Driver/missing-input.f90
    R flang/test/Flang-Driver/parse-error.f95
    R flang/test/Flang-Driver/phases.f90
    R flang/test/Flang-Driver/predefined-macros-compiler-version.f90
    R flang/test/Flang-Driver/scanning-error.f95
    R flang/test/Flang-Driver/syntax-only.f90
    R flang/test/Flang-Driver/use-module-error.f90
    R flang/test/Flang-Driver/use-module.f90
    R flang/test/Flang-Driver/write-module.f90

  Log Message:
  -----------
  [flang][driver] Merge test/Driver and test/Flang-Driver directories

Until now we've been maintaining 2 test directories for Flang's drivers:
  * test/Driver for `f18` (the current driver)
  * test/Flang-Driver for `flang-new` (the new driver)
As we have started sharing tests between the drivers, this separation is
no longer required. This patch merges the two test directories. As
suggested in the review, moving forward we'll avoid having tests
specifically for the old driver.

A few notable changes:
  * Driver/version-test.f90 and Driver/no-files.f90 are deleted. The
  versions for the new driver are more robust, but tricky to share.
  * Driver/write-module.f90 is deleted in favour of
    Flang-Driver/write-module.f90 (see https://reviews.llvm.org/D97197
    for more context)

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




More information about the All-commits mailing list