[flang] Move External IO tests to use GTest
authorAsher Mancinelli <ashermancinelli@gmail.com>
Wed, 28 Jul 2021 15:32:36 +0000 (09:32 -0600)
committerAsher Mancinelli <ashermancinelli@gmail.com>
Fri, 30 Jul 2021 16:22:01 +0000 (10:22 -0600)
commit65436e6ba12786dd27785b21e9436ded750ce8e3
tree2f853bd35fe5d6bef3c70d57ae4ef58081864e67
parent8a7b0dad9acea2b4ff29a7a8ec150cad922043e9
[flang] Move External IO tests to use GTest

Port external-io test to use GTest. Remove Runtime tests directory.
Rename RuntimeGTest directory to Runtime.

This is the last in a series of patches which ported tests from the old
flang/unittests/Runtime test directory to use GTest in a temporary
unittest directory under flang/unittests/RuntimeGTest. Now that all the
tests in the old directory have been ported to use GTest, the old
directory has been removed and the GTest directory has been renamed to
flang/unittests/Runtime.

Differential Revision: https://reviews.llvm.org/D105315
Reviewed by: Meinersbur, awarzynski
24 files changed:
flang/unittests/CMakeLists.txt
flang/unittests/Runtime/BufferTest.cpp [moved from flang/unittests/RuntimeGTest/BufferTest.cpp with 100% similarity]
flang/unittests/Runtime/CMakeLists.txt
flang/unittests/Runtime/CharacterTest.cpp [moved from flang/unittests/RuntimeGTest/CharacterTest.cpp with 98% similarity]
flang/unittests/Runtime/CrashHandlerFixture.cpp [moved from flang/unittests/RuntimeGTest/CrashHandlerFixture.cpp with 100% similarity]
flang/unittests/Runtime/CrashHandlerFixture.h [moved from flang/unittests/RuntimeGTest/CrashHandlerFixture.h with 100% similarity]
flang/unittests/Runtime/ExternalIOTest.cpp [new file with mode: 0644]
flang/unittests/Runtime/Format.cpp [moved from flang/unittests/RuntimeGTest/Format.cpp with 100% similarity]
flang/unittests/Runtime/ListInputTest.cpp [moved from flang/unittests/RuntimeGTest/ListInputTest.cpp with 100% similarity]
flang/unittests/Runtime/Matmul.cpp [moved from flang/unittests/RuntimeGTest/Matmul.cpp with 100% similarity]
flang/unittests/Runtime/MiscIntrinsic.cpp [moved from flang/unittests/RuntimeGTest/MiscIntrinsic.cpp with 100% similarity]
flang/unittests/Runtime/Namelist.cpp [moved from flang/unittests/RuntimeGTest/Namelist.cpp with 100% similarity]
flang/unittests/Runtime/Numeric.cpp [moved from flang/unittests/RuntimeGTest/Numeric.cpp with 100% similarity]
flang/unittests/Runtime/NumericalFormatTest.cpp [moved from flang/unittests/RuntimeGTest/NumericalFormatTest.cpp with 100% similarity]
flang/unittests/Runtime/Random.cpp [moved from flang/unittests/RuntimeGTest/Random.cpp with 100% similarity]
flang/unittests/Runtime/Reduction.cpp [moved from flang/unittests/RuntimeGTest/Reduction.cpp with 100% similarity]
flang/unittests/Runtime/RuntimeCrashTest.cpp [moved from flang/unittests/RuntimeGTest/RuntimeCrashTest.cpp with 100% similarity]
flang/unittests/Runtime/Time.cpp [moved from flang/unittests/RuntimeGTest/Time.cpp with 100% similarity]
flang/unittests/Runtime/Transformational.cpp [moved from flang/unittests/RuntimeGTest/Transformational.cpp with 100% similarity]
flang/unittests/Runtime/external-io.cpp [deleted file]
flang/unittests/Runtime/testing.cpp [deleted file]
flang/unittests/Runtime/testing.h [deleted file]
flang/unittests/Runtime/tools.h [moved from flang/unittests/RuntimeGTest/tools.h with 100% similarity]
flang/unittests/RuntimeGTest/CMakeLists.txt [deleted file]