[flang] Port test_any.sh tests to FileCheck: Hand port getsymbols tests
authorRichard Barton <richard.barton@arm.com>
Fri, 26 Jun 2020 17:49:21 +0000 (18:49 +0100)
committerRichard Barton <richard.barton@arm.com>
Fri, 26 Jun 2020 17:49:21 +0000 (18:49 +0100)
commitbf57fc1c8ea3d8eaf2e9974691012767ac71a73e
treee931689e4008fa753c0c21d06b0f9d3bed35dd4a
parent66c26d93b7be0e1cbd5e1c7615a0f591c975fd27
[flang] Port test_any.sh tests to FileCheck: Hand port getsymbols tests

test_any.sh's FileCheck accepts the CHECK line matches in any order while
FileCheck checks in strict order. Re-order the CHECK lines to source code
order - they come from an ordered datastructure.

Some CHECK lines are sensitive to line number which are fixed up manually.

getsymbols02 had multiple test inputs which had their own EXEC lines.
Consolidate these together in one file.

Differential Revision: https://reviews.llvm.org/D82166
flang/test/Semantics/Inputs/getsymbols02-a.f90
flang/test/Semantics/Inputs/getsymbols02-b.f90
flang/test/Semantics/Inputs/getsymbols02-c.f90 [deleted file]
flang/test/Semantics/getsymbols01.f90
flang/test/Semantics/getsymbols02.f90
flang/test/Semantics/getsymbols03-a.f90
flang/test/Semantics/getsymbols04.f90
flang/test/Semantics/getsymbols05.f90