[PATCH] D83320: Hand port modfile01.f90 from test_modfile.sh to FileCheck
Richard Barton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 7 09:22:38 PDT 2020
richard.barton.arm created this revision.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Sample of a test_modfile.sh port to FileCheck to support an RFC
Summary of changes:
- Create module files in a temporary directory using -module to isolate the tests from eachother.
- Use ls and wc to replace test_modfile.sh's check that no additional modules were created.
- Separate, explicit RUN line to check each module content with FileCheck.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83320
Files:
flang/test/Semantics/modfile01.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83320.276101.patch
Type: text/x-patch
Size: 3017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/76735db9/attachment.bin>
More information about the llvm-commits
mailing list