[all-commits] [llvm/llvm-project] 6c1ac1: [Flang] Ported test_errors.sh to Python
Ivan Zhechev via All-commits
all-commits at lists.llvm.org
Mon Sep 6 01:20:01 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c1ac141d3c98af9738bc77fcb55602cbff7751f
https://github.com/llvm/llvm-project/commit/6c1ac141d3c98af9738bc77fcb55602cbff7751f
Author: Ivan Zhechev <ivan.zhechev at arm.com>
Date: 2021-09-06 (Mon, 06 Sep 2021)
Changed paths:
M flang/test/Semantics/OpenACC/acc-atomic-validity.f90
M flang/test/Semantics/OpenACC/acc-branch.f90
M flang/test/Semantics/OpenACC/acc-cache-validity.f90
M flang/test/Semantics/OpenACC/acc-canonicalization-validity.f90
M flang/test/Semantics/OpenACC/acc-data.f90
M flang/test/Semantics/OpenACC/acc-declare-validity.f90
M flang/test/Semantics/OpenACC/acc-host-data.f90
M flang/test/Semantics/OpenACC/acc-init-validity.f90
M flang/test/Semantics/OpenACC/acc-kernels-loop.f90
M flang/test/Semantics/OpenACC/acc-kernels.f90
M flang/test/Semantics/OpenACC/acc-loop.f90
M flang/test/Semantics/OpenACC/acc-parallel-loop-validity.f90
M flang/test/Semantics/OpenACC/acc-parallel.f90
M flang/test/Semantics/OpenACC/acc-resolve01.f90
M flang/test/Semantics/OpenACC/acc-resolve02.f90
M flang/test/Semantics/OpenACC/acc-routine-validity.f90
M flang/test/Semantics/OpenACC/acc-serial-loop.f90
M flang/test/Semantics/OpenACC/acc-serial.f90
M flang/test/Semantics/OpenACC/acc-set-validity.f90
M flang/test/Semantics/OpenACC/acc-shutdown-validity.f90
M flang/test/Semantics/OpenACC/acc-update-validity.f90
M flang/test/Semantics/OpenACC/acc-wait-validity.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-big.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/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/call18.f90
M flang/test/Semantics/call19.f90
M flang/test/Semantics/call20.f90
M flang/test/Semantics/case01.f90
M flang/test/Semantics/coarrays01.f90
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/data12.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/dosemantics03.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/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/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/io10.f90
M flang/test/Semantics/io11.f90
M flang/test/Semantics/kinds02.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/modfile41.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/omp-allocate-directive.f90
M flang/test/Semantics/omp-allocate01.f90
M flang/test/Semantics/omp-allocate02.f90
M flang/test/Semantics/omp-allocate03.f90
M flang/test/Semantics/omp-allocate04.f90
M flang/test/Semantics/omp-allocate05.f90
M flang/test/Semantics/omp-allocate06.f90
M flang/test/Semantics/omp-allocate07.f90
M flang/test/Semantics/omp-allocate08.f90
M flang/test/Semantics/omp-atomic.f90
M flang/test/Semantics/omp-atomic01.f90
M flang/test/Semantics/omp-clause-validity01.f90
M flang/test/Semantics/omp-combined-constructs.f90
M flang/test/Semantics/omp-copyin01.f90
M flang/test/Semantics/omp-copyin02.f90
M flang/test/Semantics/omp-copyin03.f90
M flang/test/Semantics/omp-copyin04.f90
M flang/test/Semantics/omp-copyin05.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-declarative-directive.f90
M flang/test/Semantics/omp-default.f90
M flang/test/Semantics/omp-default02.f90
M flang/test/Semantics/omp-depend01.f90
M flang/test/Semantics/omp-depend02.f90
M flang/test/Semantics/omp-depend03.f90
M flang/test/Semantics/omp-device-constructs.f90
M flang/test/Semantics/omp-do-collapse-positivecases.f90
M flang/test/Semantics/omp-do-collapse.f90
M flang/test/Semantics/omp-do-cycle.f90
M flang/test/Semantics/omp-do-ordered-positivecases.f90
M flang/test/Semantics/omp-do-ordered.f90
M flang/test/Semantics/omp-do-schedule01.f90
M flang/test/Semantics/omp-do-schedule02.f90
M flang/test/Semantics/omp-do01.f90
M flang/test/Semantics/omp-do03.f90
M flang/test/Semantics/omp-do04.f90
M flang/test/Semantics/omp-do05.f90
M flang/test/Semantics/omp-do06.f90
M flang/test/Semantics/omp-do08.f90
M flang/test/Semantics/omp-do09.f90
M flang/test/Semantics/omp-do10.f90
M flang/test/Semantics/omp-do13.f90
M flang/test/Semantics/omp-do15.f90
M flang/test/Semantics/omp-do16.f90
M flang/test/Semantics/omp-firstprivate01.f90
M flang/test/Semantics/omp-flush01.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-linear-iter.f90
M flang/test/Semantics/omp-loop-association.f90
M flang/test/Semantics/omp-loop-simd01.f90
M flang/test/Semantics/omp-nested-barrier.f90
M flang/test/Semantics/omp-nested-cancel.f90
M flang/test/Semantics/omp-nested-cancellation-point.f90
M flang/test/Semantics/omp-nested-distribute.f90
M flang/test/Semantics/omp-nested-master.f90
M flang/test/Semantics/omp-nested-simd.f90
M flang/test/Semantics/omp-nested-target.f90
M flang/test/Semantics/omp-nested-teams.f90
M flang/test/Semantics/omp-nested01.f90
M flang/test/Semantics/omp-no-dowhile-in-parallel.f90
M flang/test/Semantics/omp-ordered-simd.f90
M flang/test/Semantics/omp-parallel-private01.f90
M flang/test/Semantics/omp-parallel-private02.f90
M flang/test/Semantics/omp-parallel-private03.f90
M flang/test/Semantics/omp-parallel-private04.f90
M flang/test/Semantics/omp-parallel-shared01.f90
M flang/test/Semantics/omp-parallel-shared02.f90
M flang/test/Semantics/omp-parallel-shared03.f90
M flang/test/Semantics/omp-parallel-shared04.f90
M flang/test/Semantics/omp-private01.f90
M flang/test/Semantics/omp-private02.f90
M flang/test/Semantics/omp-private03.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-reduction10.f90
M flang/test/Semantics/omp-resolve01.f90
M flang/test/Semantics/omp-resolve02.f90
M flang/test/Semantics/omp-resolve03.f90
M flang/test/Semantics/omp-resolve04.f90
M flang/test/Semantics/omp-resolve05.f90
M flang/test/Semantics/omp-resolve06.f90
M flang/test/Semantics/omp-sections01.f90
M flang/test/Semantics/omp-simd-aligned.f90
M flang/test/Semantics/omp-simd02.f90
M flang/test/Semantics/omp-single01.f90
M flang/test/Semantics/omp-single02.f90
M flang/test/Semantics/omp-taskgroup01.f90
M flang/test/Semantics/omp-taskloop-simd01.f90
M flang/test/Semantics/omp-taskloop01.f90
M flang/test/Semantics/omp-workshare01.f90
M flang/test/Semantics/omp-workshare02.f90
M flang/test/Semantics/omp-workshare03.f90
M flang/test/Semantics/omp-workshare04.f90
M flang/test/Semantics/omp-workshare05.f90
M flang/test/Semantics/random-seed.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/resolve105.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/resolve64.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
A flang/test/Semantics/test_errors.py
R flang/test/Semantics/test_errors.sh
M flang/test/Semantics/unpack.f90
Log Message:
-----------
[Flang] Ported test_errors.sh to Python
To enable Flang testing on Windows, shell scripts have to be ported to Python. In this patch the "test_errors.sh" script is ported to python ("test_errors.py"). The RUN line of existing tests was changed to make use of the python script.
Used python regex in place of awk/sed.
Reviewed By: Meinersbur
Differential Revision: https://reviews.llvm.org/D107575
More information about the All-commits
mailing list