[PATCH] D82165: [flang] Port test_any.sh tests to FileCheck: Hand port getdefinition* 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.

These tests are sensitive to line numbers in the input and check output.
They also successively write to a temporary file then check that.

Fix the line number issues and replace the temporary file use with successive
calls to FileCheck with different check-prefixes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82165

Files:
  flang/test/Semantics/getdefinition01.f90
  flang/test/Semantics/getdefinition02.f
  flang/test/Semantics/getdefinition03-a.f90
  flang/test/Semantics/getdefinition04.f90
  flang/test/Semantics/getdefinition05.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82165.271965.patch
Type: text/x-patch
Size: 5291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/6cbc3121/attachment.bin>


More information about the llvm-commits mailing list