[all-commits] [llvm/llvm-project] 1c8f19: [flang][driver] Update PP tests to use the new driver

Faris via All-commits all-commits at lists.llvm.org
Mon Jan 25 04:38:41 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c8f199f449916d30ec12ecc5bb0f157ab1d01a0
      https://github.com/llvm/llvm-project/commit/1c8f199f449916d30ec12ecc5bb0f157ab1d01a0
  Author: Faris Rehman <faris.rehman at arm.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M flang/test/Preprocessing/assert.F90
    M flang/test/Preprocessing/compiler_defined_macros.F90
    M flang/test/Preprocessing/defines.F90
    M flang/test/Preprocessing/fixed-rescan.F
    M flang/test/Preprocessing/hollerith.f
    M flang/test/Preprocessing/include-comment.F90
    M flang/test/Preprocessing/pp001.F
    M flang/test/Preprocessing/pp002.F
    M flang/test/Preprocessing/pp003.F
    M flang/test/Preprocessing/pp004.F
    M flang/test/Preprocessing/pp005.F
    M flang/test/Preprocessing/pp006.F
    M flang/test/Preprocessing/pp007.F
    M flang/test/Preprocessing/pp008.F
    M flang/test/Preprocessing/pp009.F
    M flang/test/Preprocessing/pp010.F
    M flang/test/Preprocessing/pp011.F
    M flang/test/Preprocessing/pp012.F
    M flang/test/Preprocessing/pp013.F
    M flang/test/Preprocessing/pp014.F
    M flang/test/Preprocessing/pp015.F
    M flang/test/Preprocessing/pp016.F
    M flang/test/Preprocessing/pp017.F
    M flang/test/Preprocessing/pp018.F
    M flang/test/Preprocessing/pp019.F
    M flang/test/Preprocessing/pp020.F
    M flang/test/Preprocessing/pp021.F
    M flang/test/Preprocessing/pp022.F
    M flang/test/Preprocessing/pp023.F
    M flang/test/Preprocessing/pp024.F
    M flang/test/Preprocessing/pp025.F
    M flang/test/Preprocessing/pp026.F
    M flang/test/Preprocessing/pp027.F
    M flang/test/Preprocessing/pp028.F
    M flang/test/Preprocessing/pp029.F
    M flang/test/Preprocessing/pp030.F
    M flang/test/Preprocessing/pp031.F
    M flang/test/Preprocessing/pp032.F
    M flang/test/Preprocessing/pp033.F
    M flang/test/Preprocessing/pp034.F
    M flang/test/Preprocessing/pp035.F
    M flang/test/Preprocessing/pp036.F
    M flang/test/Preprocessing/pp037.F
    M flang/test/Preprocessing/pp038.F
    M flang/test/Preprocessing/pp039.F
    M flang/test/Preprocessing/pp040.F
    M flang/test/Preprocessing/pp041.F
    M flang/test/Preprocessing/pp042.F
    M flang/test/Preprocessing/pp043.F
    M flang/test/Preprocessing/pp044.F
    M flang/test/Preprocessing/pp101.F90
    M flang/test/Preprocessing/pp102.F90
    M flang/test/Preprocessing/pp103.F90
    M flang/test/Preprocessing/pp104.F90
    M flang/test/Preprocessing/pp105.F90
    M flang/test/Preprocessing/pp106.F90
    M flang/test/Preprocessing/pp107.F90
    M flang/test/Preprocessing/pp108.F90
    M flang/test/Preprocessing/pp109.F90
    M flang/test/Preprocessing/pp110.F90
    M flang/test/Preprocessing/pp111.F90
    M flang/test/Preprocessing/pp112.F90
    M flang/test/Preprocessing/pp113.F90
    M flang/test/Preprocessing/pp114.F90
    M flang/test/Preprocessing/pp115.F90
    M flang/test/Preprocessing/pp116.F90
    M flang/test/Preprocessing/pp117.F90
    M flang/test/Preprocessing/pp118.F90
    M flang/test/Preprocessing/pp119.F90
    M flang/test/Preprocessing/pp120.F90
    M flang/test/Preprocessing/pp121.F90
    M flang/test/Preprocessing/pp122.F90
    M flang/test/Preprocessing/pp123.F90
    M flang/test/Preprocessing/pp124.F90
    M flang/test/Preprocessing/pp125.F90
    M flang/test/Preprocessing/pp126.F90
    M flang/test/Preprocessing/pp127.F90
    M flang/test/Preprocessing/pp128.F90
    M flang/test/Preprocessing/pp129.F90
    M flang/test/Preprocessing/pp130.F90
    M flang/test/lit.cfg.py

  Log Message:
  -----------
  [flang][driver] Update PP tests to use the new driver

Update the preprocessor regression tests to use the new driver if the new driver is built (FLANG_BUILD_NEW_DRIVER=On), otherwise the tests will still run using f18.

Summary of changes:
- Introduce %flang to the regression tests, which points to the new driver if it is built or otherwise points to f18
- Update all tests in flang/test/Preprocessing/ to use %flang

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




More information about the All-commits mailing list