[PATCH] D82166: [flang] Port test_any.sh tests to FileCheck: Hand port getsymbols tests

Richard Barton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 02:39:19 PDT 2020


richard.barton.arm created this revision.
richard.barton.arm added a reviewer: tskeith.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82166

Files:
  flang/test/Semantics/Inputs/getsymbols02-a.f90
  flang/test/Semantics/Inputs/getsymbols02-b.f90
  flang/test/Semantics/Inputs/getsymbols02-c.f90
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82166.271966.patch
Type: text/x-patch
Size: 5361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/1205527f/attachment.bin>


More information about the llvm-commits mailing list