[PATCH] D94922: [flang][driver] Refactor one unit-test case to use fixtures (nfc)

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 10:14:48 PST 2021


awarzynski created this revision.
Herald added a subscriber: mgorny.
Herald added a reviewer: a.sidorin.
awarzynski requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Move the unit test from InputOutputTest.cpp and re-implement it in terms
of the FrontendActionTest fixture. This is just a small code clean-up.

Moving forward we should try implementing all unit-test cases for
Flang's frontend actions in terms of FrontendActionTest.

This is a continuation of: https://reviews.llvm.org/D93544


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94922

Files:
  flang/unittests/Frontend/CMakeLists.txt
  flang/unittests/Frontend/CompilerInstanceTest.cpp
  flang/unittests/Frontend/FrontendActionTest.cpp
  flang/unittests/Frontend/InputOutputTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94922.317387.patch
Type: text/x-patch
Size: 5906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210118/0829b73a/attachment.bin>


More information about the llvm-commits mailing list