[all-commits] [llvm/llvm-project] e7be90: [flang] Update the regression tests to use the new...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Apr 15 01:53:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7be90bd27051c3dcd9a344cb1b347a0c9454c21
      https://github.com/llvm/llvm-project/commit/e7be90bd27051c3dcd9a344cb1b347a0c9454c21
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M flang/test/Evaluate/folding01.f90
    M flang/test/Evaluate/folding02.f90
    M flang/test/Evaluate/folding03.f90
    M flang/test/Evaluate/folding04.f90
    M flang/test/Evaluate/folding06.f90
    M flang/test/Evaluate/folding07.f90
    M flang/test/Evaluate/folding08.f90
    M flang/test/Evaluate/folding09.f90
    M flang/test/Evaluate/folding10.f90
    M flang/test/Evaluate/folding11.f90
    M flang/test/Evaluate/folding12.f90
    M flang/test/Evaluate/folding13.f90
    M flang/test/Evaluate/folding14.f90
    M flang/test/Evaluate/folding15.f90
    M flang/test/Evaluate/folding16.f90
    M flang/test/Evaluate/folding17.f90
    M flang/test/Evaluate/folding18.f90
    M flang/test/Evaluate/folding19.f90
    M flang/test/Lower/pre-fir-tree04.f90
    M flang/test/Parser/acc-unparse.f90
    M flang/test/Parser/badlabel.f
    M flang/test/Parser/compiler-directives.f90
    M flang/test/Semantics/OpenACC/acc-symbols01.f90
    M flang/test/Semantics/allocate01.f90
    M flang/test/Semantics/allocate02.f90
    M flang/test/Semantics/allocate03.f90
    M flang/test/Semantics/allocate04.f90
    M flang/test/Semantics/allocate05.f90
    M flang/test/Semantics/allocate06.f90
    M flang/test/Semantics/allocate07.f90
    M flang/test/Semantics/allocate08.f90
    M flang/test/Semantics/allocate09.f90
    M flang/test/Semantics/allocate10.f90
    M flang/test/Semantics/allocate11.f90
    M flang/test/Semantics/allocate12.f90
    M flang/test/Semantics/allocate13.f90
    M flang/test/Semantics/altreturn01.f90
    M flang/test/Semantics/altreturn02.f90
    M flang/test/Semantics/altreturn03.f90
    M flang/test/Semantics/altreturn04.f90
    M flang/test/Semantics/altreturn05.f90
    M flang/test/Semantics/altreturn06.f90
    M flang/test/Semantics/array-constr-values.f90
    M flang/test/Semantics/assign01.f90
    M flang/test/Semantics/assign02.f90
    M flang/test/Semantics/assign03.f90
    M flang/test/Semantics/assign04.f90
    M flang/test/Semantics/assign06.f90
    M flang/test/Semantics/assign07.f90
    M flang/test/Semantics/associated.f90
    M flang/test/Semantics/bad-forward-type.f90
    M flang/test/Semantics/badly-typed-intrinsic.f90
    M flang/test/Semantics/bind-c01.f90
    M flang/test/Semantics/bindings01.f90
    M flang/test/Semantics/block-data01.f90
    M flang/test/Semantics/blockconstruct01.f90
    M flang/test/Semantics/blockconstruct02.f90
    M flang/test/Semantics/blockconstruct03.f90
    M flang/test/Semantics/boz-literal-constants.f90
    M flang/test/Semantics/c_f_pointer.f90
    M flang/test/Semantics/call01.f90
    M flang/test/Semantics/call02.f90
    M flang/test/Semantics/call03.f90
    M flang/test/Semantics/call04.f90
    M flang/test/Semantics/call05.f90
    M flang/test/Semantics/call06.f90
    M flang/test/Semantics/call07.f90
    M flang/test/Semantics/call08.f90
    M flang/test/Semantics/call09.f90
    M flang/test/Semantics/call10.f90
    M flang/test/Semantics/call11.f90
    M flang/test/Semantics/call12.f90
    M flang/test/Semantics/call13.f90
    M flang/test/Semantics/call14.f90
    M flang/test/Semantics/call15.f90
    M flang/test/Semantics/call16.f90
    M flang/test/Semantics/call17.f90
    M flang/test/Semantics/call18.f90
    M flang/test/Semantics/canondo05.f90
    M flang/test/Semantics/canondo06.f90
    M flang/test/Semantics/case01.f90
    M flang/test/Semantics/coarrays01.f90
    M flang/test/Semantics/common.sh
    M flang/test/Semantics/complex01.f90
    M flang/test/Semantics/computed-goto01.f90
    M flang/test/Semantics/computed-goto02.f90
    M flang/test/Semantics/critical01.f90
    M flang/test/Semantics/critical02.f90
    M flang/test/Semantics/critical03.f90
    M flang/test/Semantics/data01.f90
    M flang/test/Semantics/data02.f90
    M flang/test/Semantics/data03.f90
    M flang/test/Semantics/data04.f90
    M flang/test/Semantics/data06.f90
    M flang/test/Semantics/data07.f90
    M flang/test/Semantics/data10.f90
    M flang/test/Semantics/deallocate01.f90
    M flang/test/Semantics/deallocate04.f90
    M flang/test/Semantics/deallocate05.f90
    M flang/test/Semantics/deallocate06.f90
    M flang/test/Semantics/doconcurrent01.f90
    M flang/test/Semantics/doconcurrent05.f90
    M flang/test/Semantics/doconcurrent06.f90
    M flang/test/Semantics/doconcurrent08.f90
    M flang/test/Semantics/dosemantics01.f90
    M flang/test/Semantics/dosemantics02.f90
    M flang/test/Semantics/dosemantics04.f90
    M flang/test/Semantics/dosemantics05.f90
    M flang/test/Semantics/dosemantics06.f90
    M flang/test/Semantics/dosemantics07.f90
    M flang/test/Semantics/dosemantics08.f90
    M flang/test/Semantics/dosemantics09.f90
    M flang/test/Semantics/dosemantics10.f90
    M flang/test/Semantics/dosemantics11.f90
    M flang/test/Semantics/dosemantics12.f90
    M flang/test/Semantics/empty.f90
    M flang/test/Semantics/entry01.f90
    M flang/test/Semantics/equivalence01.f90
    M flang/test/Semantics/expr-errors01.f90
    M flang/test/Semantics/expr-errors02.f90
    M flang/test/Semantics/expr-errors03.f90
    M flang/test/Semantics/final01.f90
    M flang/test/Semantics/final02.f90
    M flang/test/Semantics/forall01.f90
    M flang/test/Semantics/if_arith01.f90
    M flang/test/Semantics/if_arith02.f90
    M flang/test/Semantics/if_arith03.f90
    M flang/test/Semantics/if_arith04.f90
    M flang/test/Semantics/if_construct01.f90
    M flang/test/Semantics/if_construct02.f90
    M flang/test/Semantics/if_stmt01.f90
    M flang/test/Semantics/if_stmt02.f90
    M flang/test/Semantics/if_stmt03.f90
    M flang/test/Semantics/implicit01.f90
    M flang/test/Semantics/implicit02.f90
    M flang/test/Semantics/implicit03.f90
    M flang/test/Semantics/implicit04.f90
    M flang/test/Semantics/implicit05.f90
    M flang/test/Semantics/implicit06.f90
    M flang/test/Semantics/implicit07.f90
    M flang/test/Semantics/implicit08.f90
    M flang/test/Semantics/implicit09.f90
    M flang/test/Semantics/implicit10.f90
    M flang/test/Semantics/implicit11.f90
    M flang/test/Semantics/init01.f90
    M flang/test/Semantics/int-literals.f90
    M flang/test/Semantics/io01.f90
    M flang/test/Semantics/io02.f90
    M flang/test/Semantics/io03.f90
    M flang/test/Semantics/io04.f90
    M flang/test/Semantics/io05.f90
    M flang/test/Semantics/io06.f90
    M flang/test/Semantics/io07.f90
    M flang/test/Semantics/io08.f90
    M flang/test/Semantics/io09.f90
    M flang/test/Semantics/kinds01.f90
    M flang/test/Semantics/kinds02.f90
    M flang/test/Semantics/kinds03.f90
    M flang/test/Semantics/kinds04.f90
    M flang/test/Semantics/label11.f90
    M flang/test/Semantics/label16.f90
    M flang/test/Semantics/misc-declarations.f90
    M flang/test/Semantics/missing_newline.f90
    M flang/test/Semantics/modfile01.f90
    M flang/test/Semantics/modfile02.f90
    M flang/test/Semantics/modfile03.f90
    M flang/test/Semantics/modfile04.f90
    M flang/test/Semantics/modfile05.f90
    M flang/test/Semantics/modfile06.f90
    M flang/test/Semantics/modfile07.f90
    M flang/test/Semantics/modfile08.f90
    M flang/test/Semantics/modfile09.f90
    M flang/test/Semantics/modfile10.f90
    M flang/test/Semantics/modfile11.f90
    M flang/test/Semantics/modfile12.f90
    M flang/test/Semantics/modfile13.f90
    M flang/test/Semantics/modfile14.f90
    M flang/test/Semantics/modfile15.f90
    M flang/test/Semantics/modfile16.f90
    M flang/test/Semantics/modfile17.f90
    M flang/test/Semantics/modfile18.f90
    M flang/test/Semantics/modfile19.f90
    M flang/test/Semantics/modfile20.f90
    M flang/test/Semantics/modfile21.f90
    M flang/test/Semantics/modfile22.f90
    M flang/test/Semantics/modfile23.f90
    M flang/test/Semantics/modfile24.f90
    M flang/test/Semantics/modfile25.f90
    M flang/test/Semantics/modfile26.f90
    M flang/test/Semantics/modfile27.f90
    M flang/test/Semantics/modfile28.f90
    M flang/test/Semantics/modfile29.f90
    M flang/test/Semantics/modfile30.f90
    M flang/test/Semantics/modfile31.f90
    M flang/test/Semantics/modfile32.f90
    M flang/test/Semantics/modfile33.f90
    M flang/test/Semantics/modfile34.f90
    M flang/test/Semantics/modfile35.f90
    M flang/test/Semantics/modfile36.f90
    M flang/test/Semantics/modfile37.f90
    M flang/test/Semantics/modfile38.f90
    M flang/test/Semantics/modfile39.f90
    M flang/test/Semantics/modfile40.f90
    M flang/test/Semantics/modifiable01.f90
    M flang/test/Semantics/namelist01.f90
    M flang/test/Semantics/null-init.f90
    M flang/test/Semantics/null01.f90
    M flang/test/Semantics/nullify01.f90
    M flang/test/Semantics/nullify02.f90
    M flang/test/Semantics/num_images.f90
    M flang/test/Semantics/oldparam01.f90
    M flang/test/Semantics/oldparam03.f90
    M flang/test/Semantics/omp-allocate-directive.f90
    M flang/test/Semantics/omp-atomic01.f90
    M flang/test/Semantics/omp-clause-validity01.f90
    M flang/test/Semantics/omp-copyprivate01.f90
    M flang/test/Semantics/omp-copyprivate02.f90
    M flang/test/Semantics/omp-copyprivate03.f90
    M flang/test/Semantics/omp-do-schedule03.f90
    M flang/test/Semantics/omp-do-schedule04.f90
    M flang/test/Semantics/omp-do01-positivecase.f90
    M flang/test/Semantics/omp-do04-positivecase.f90
    M flang/test/Semantics/omp-do04.f90
    M flang/test/Semantics/omp-do05-positivecase.f90
    M flang/test/Semantics/omp-do06-positivecases.f90
    M flang/test/Semantics/omp-do09.f90
    M flang/test/Semantics/omp-do10.f90
    M flang/test/Semantics/omp-do11.f90
    M flang/test/Semantics/omp-do12.f90
    M flang/test/Semantics/omp-do13.f90
    M flang/test/Semantics/omp-do14.f90
    M flang/test/Semantics/omp-do15.f90
    M flang/test/Semantics/omp-do16.f90
    M flang/test/Semantics/omp-do17.f90
    M flang/test/Semantics/omp-firstprivate01.f90
    M flang/test/Semantics/omp-flush02.f90
    M flang/test/Semantics/omp-lastprivate01.f90
    M flang/test/Semantics/omp-lastprivate02.f90
    M flang/test/Semantics/omp-reduction01.f90
    M flang/test/Semantics/omp-reduction02.f90
    M flang/test/Semantics/omp-reduction03.f90
    M flang/test/Semantics/omp-reduction04.f90
    M flang/test/Semantics/omp-reduction05.f90
    M flang/test/Semantics/omp-reduction06.f90
    M flang/test/Semantics/omp-reduction07.f90
    M flang/test/Semantics/omp-reduction08.f90
    M flang/test/Semantics/omp-reduction09.f90
    M flang/test/Semantics/omp-reduction10.f90
    M flang/test/Semantics/omp-resolve06.f90
    M flang/test/Semantics/omp-single01.f90
    M flang/test/Semantics/omp-single02.f90
    M flang/test/Semantics/omp-symbol01.f90
    M flang/test/Semantics/omp-symbol02.f90
    M flang/test/Semantics/omp-symbol03.f90
    M flang/test/Semantics/omp-symbol04.f90
    M flang/test/Semantics/omp-symbol05.f90
    M flang/test/Semantics/omp-symbol06.f90
    M flang/test/Semantics/omp-symbol07.f90
    M flang/test/Semantics/omp-symbol08.f90
    M flang/test/Semantics/procinterface01.f90
    M flang/test/Semantics/reshape.f90
    M flang/test/Semantics/resolve01.f90
    M flang/test/Semantics/resolve02.f90
    M flang/test/Semantics/resolve03.f90
    M flang/test/Semantics/resolve04.f90
    M flang/test/Semantics/resolve05.f90
    M flang/test/Semantics/resolve06.f90
    M flang/test/Semantics/resolve07.f90
    M flang/test/Semantics/resolve08.f90
    M flang/test/Semantics/resolve09.f90
    M flang/test/Semantics/resolve10.f90
    M flang/test/Semantics/resolve101.f90
    M flang/test/Semantics/resolve102.f90
    M flang/test/Semantics/resolve104.f90
    M flang/test/Semantics/resolve11.f90
    M flang/test/Semantics/resolve12.f90
    M flang/test/Semantics/resolve13.f90
    M flang/test/Semantics/resolve14.f90
    M flang/test/Semantics/resolve15.f90
    M flang/test/Semantics/resolve16.f90
    M flang/test/Semantics/resolve17.f90
    M flang/test/Semantics/resolve18.f90
    M flang/test/Semantics/resolve19.f90
    M flang/test/Semantics/resolve20.f90
    M flang/test/Semantics/resolve21.f90
    M flang/test/Semantics/resolve22.f90
    M flang/test/Semantics/resolve23.f90
    M flang/test/Semantics/resolve24.f90
    M flang/test/Semantics/resolve25.f90
    M flang/test/Semantics/resolve26.f90
    M flang/test/Semantics/resolve27.f90
    M flang/test/Semantics/resolve28.f90
    M flang/test/Semantics/resolve29.f90
    M flang/test/Semantics/resolve30.f90
    M flang/test/Semantics/resolve31.f90
    M flang/test/Semantics/resolve32.f90
    M flang/test/Semantics/resolve33.f90
    M flang/test/Semantics/resolve34.f90
    M flang/test/Semantics/resolve35.f90
    M flang/test/Semantics/resolve36.f90
    M flang/test/Semantics/resolve37.f90
    M flang/test/Semantics/resolve38.f90
    M flang/test/Semantics/resolve39.f90
    M flang/test/Semantics/resolve40.f90
    M flang/test/Semantics/resolve41.f90
    M flang/test/Semantics/resolve42.f90
    M flang/test/Semantics/resolve43.f90
    M flang/test/Semantics/resolve44.f90
    M flang/test/Semantics/resolve45.f90
    M flang/test/Semantics/resolve46.f90
    M flang/test/Semantics/resolve47.f90
    M flang/test/Semantics/resolve48.f90
    M flang/test/Semantics/resolve49.f90
    M flang/test/Semantics/resolve50.f90
    M flang/test/Semantics/resolve51.f90
    M flang/test/Semantics/resolve52.f90
    M flang/test/Semantics/resolve53.f90
    M flang/test/Semantics/resolve54.f90
    M flang/test/Semantics/resolve55.f90
    M flang/test/Semantics/resolve56.f90
    M flang/test/Semantics/resolve57.f90
    M flang/test/Semantics/resolve58.f90
    M flang/test/Semantics/resolve59.f90
    M flang/test/Semantics/resolve60.f90
    M flang/test/Semantics/resolve61.f90
    M flang/test/Semantics/resolve62.f90
    M flang/test/Semantics/resolve63.f90
    M flang/test/Semantics/resolve65.f90
    M flang/test/Semantics/resolve66.f90
    M flang/test/Semantics/resolve67.f90
    M flang/test/Semantics/resolve68.f90
    M flang/test/Semantics/resolve69.f90
    M flang/test/Semantics/resolve70.f90
    M flang/test/Semantics/resolve71.f90
    M flang/test/Semantics/resolve72.f90
    M flang/test/Semantics/resolve73.f90
    M flang/test/Semantics/resolve74.f90
    M flang/test/Semantics/resolve75.f90
    M flang/test/Semantics/resolve76.f90
    M flang/test/Semantics/resolve77.f90
    M flang/test/Semantics/resolve78.f90
    M flang/test/Semantics/resolve79.f90
    M flang/test/Semantics/resolve80.f90
    M flang/test/Semantics/resolve81.f90
    M flang/test/Semantics/resolve82.f90
    M flang/test/Semantics/resolve83.f90
    M flang/test/Semantics/resolve84.f90
    M flang/test/Semantics/resolve85.f90
    M flang/test/Semantics/resolve86.f90
    M flang/test/Semantics/resolve87.f90
    M flang/test/Semantics/resolve88.f90
    M flang/test/Semantics/resolve89.f90
    M flang/test/Semantics/resolve90.f90
    M flang/test/Semantics/resolve91.f90
    M flang/test/Semantics/resolve92.f90
    M flang/test/Semantics/resolve93.f90
    M flang/test/Semantics/resolve94.f90
    M flang/test/Semantics/resolve95.f90
    M flang/test/Semantics/resolve96.f90
    M flang/test/Semantics/resolve97.f90
    M flang/test/Semantics/resolve98.f90
    M flang/test/Semantics/resolve99.f90
    M flang/test/Semantics/save01.f90
    M flang/test/Semantics/select-rank.f90
    M flang/test/Semantics/select-rank02.f90
    M flang/test/Semantics/selecttype01.f90
    M flang/test/Semantics/selecttype02.f90
    M flang/test/Semantics/selecttype03.f90
    M flang/test/Semantics/separate-mp01.f90
    M flang/test/Semantics/separate-mp02.f90
    M flang/test/Semantics/shape.f90
    M flang/test/Semantics/spec-expr.f90
    M flang/test/Semantics/stop01.f90
    M flang/test/Semantics/structconst01.f90
    M flang/test/Semantics/structconst02.f90
    M flang/test/Semantics/structconst03.f90
    M flang/test/Semantics/structconst04.f90
    M flang/test/Semantics/symbol01.f90
    M flang/test/Semantics/symbol02.f90
    M flang/test/Semantics/symbol03.f90
    M flang/test/Semantics/symbol05.f90
    M flang/test/Semantics/symbol06.f90
    M flang/test/Semantics/symbol07.f90
    M flang/test/Semantics/symbol08.f90
    M flang/test/Semantics/symbol09.f90
    M flang/test/Semantics/symbol10.f90
    M flang/test/Semantics/symbol11.f90
    M flang/test/Semantics/symbol12.f90
    M flang/test/Semantics/symbol13.f90
    M flang/test/Semantics/symbol14.f90
    M flang/test/Semantics/symbol15.f90
    M flang/test/Semantics/symbol16.f90
    M flang/test/Semantics/symbol17.f90
    M flang/test/Semantics/symbol18.f90
    M flang/test/Semantics/symbol19.f90
    M flang/test/Semantics/test_errors.sh
    M flang/test/Semantics/test_modfile.sh
    M flang/test/Semantics/test_symbols.sh

  Log Message:
  -----------
  [flang] Update the regression tests to use the new driver when enabled

This patch updates most of the remaining regression tests (~400) to use
`flang-new` rather then `f18` when `FLANG_BUILD_NEW_DRIVER` is set.
This allows us to share more Flang regression tests between `f18` and
`flang-new`. A handful of tests have not been ported yet - these are
currently either failing or not supported by the new driver.

Summary of changes:
  * RUN lines in tests are updated to use `%flang_fc1` instead of `%f18`
  * option spellings in tests are updated to forms accepted by both `f18` and
    `flang-new`
  * variables in Bash scripts are renamed (e.g. F18 --> FLANG_FC1)
The updated tests will now be run with the new driver, `flang-new`,
whenever it is enabled (i.e when `FLANG_BUILD_NEW_DRIVER` is set).

Although this patch touches many files, vast majority of the changes are
automatic:
```
grep -IEZlr "%f18" flang/test/ | xargs -0 -l sed -i 's/%f18/%flang_fc1/g
```

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




More information about the All-commits mailing list