[flang] Port test_any.sh tests to FileCheck: Hand port canondo{08-18} tests
authorRichard Barton <richard.barton@arm.com>
Fri, 26 Jun 2020 17:50:46 +0000 (18:50 +0100)
committerRichard Barton <richard.barton@arm.com>
Fri, 26 Jun 2020 17:50:46 +0000 (18:50 +0100)
commitae74252341a0e985a3b637c9b6c30aed9b6f033b
tree519242df402840cdf1d77bc34e8a1c6534995cab
parentbf57fc1c8ea3d8eaf2e9974691012767ac71a73e
[flang] Port test_any.sh tests to FileCheck: Hand port canondo{08-18} tests

These tests checked for stdout and stderr in the same pipe, which does not
come out in a guaranteed order. test_any.sh's FileCheck accepts CHECK lines in
any order while FileCheck checks must match in order.

Hand port these to pipe stdout to a temp file which is checked with a separate
FileCheck RUN line to test it.

Differential Revision: https://reviews.llvm.org/D82167
flang/test/Semantics/canondo08.f90
flang/test/Semantics/canondo09.f90
flang/test/Semantics/canondo10.f90
flang/test/Semantics/canondo11.f90
flang/test/Semantics/canondo12.f90
flang/test/Semantics/canondo13.f90
flang/test/Semantics/canondo14.f90
flang/test/Semantics/canondo15.f90
flang/test/Semantics/canondo16.f90
flang/test/Semantics/canondo17.f90
flang/test/Semantics/canondo18.f90