[all-commits] [llvm/llvm-project] b564b1: [flang][driver] Refactor one unit-test case to use...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Wed Jan 20 11:37:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b564b12bc665c5b9d7148422e4a65871dd31b912
      https://github.com/llvm/llvm-project/commit/b564b12bc665c5b9d7148422e4a65871dd31b912
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M flang/unittests/Frontend/CMakeLists.txt
    M flang/unittests/Frontend/CompilerInstanceTest.cpp
    M flang/unittests/Frontend/FrontendActionTest.cpp
    R flang/unittests/Frontend/InputOutputTest.cpp

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

Move the unit test from InputOutputTest.cpp to FrontendActionTest.cpp
and re-implement it in terms of the FrontendActionTest fixture. This is
just a small code clean-up and a continuation of:
  * https://reviews.llvm.org/D93544

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

Reviewed By: sameeranjoshi

Differential Revision: https://reviews.llvm.org/D94922




More information about the All-commits mailing list