This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by awarzynski on Jan 18 2021, 10:14 AM.

Details

Summary

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

Diff Detail

Event Timeline

awarzynski created this revision.Jan 18 2021, 10:14 AM
awarzynski requested review of this revision.Jan 18 2021, 10:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2021, 10:14 AM
sameeranjoshi accepted this revision.Jan 19 2021, 11:53 PM

Looks good.

This revision is now accepted and ready to land.Jan 19 2021, 11:53 PM
This revision was landed with ongoing or failed builds.Jan 20 2021, 11:37 AM
This revision was automatically updated to reflect the committed changes.
flang/unittests/Frontend/FrontendActionTest.cpp