[all-commits] [llvm/llvm-project] 590524: Move googletest to the third-party directory

Tom Stellard via All-commits all-commits at lists.llvm.org
Wed Nov 9 11:10:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59052468c3e38cab15582cefbb5133fd4c2ffce5
      https://github.com/llvm/llvm-project/commit/59052468c3e38cab15582cefbb5133fd4c2ffce5
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M clang/CMakeLists.txt
    M compiler-rt/CMakeLists.txt
    M lld/CMakeLists.txt
    M lldb/cmake/modules/LLDBStandalone.cmake
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    R llvm/utils/unittest/CMakeLists.txt
    R llvm/utils/unittest/UnitTestMain/CMakeLists.txt
    R llvm/utils/unittest/UnitTestMain/TestMain.cpp
    R llvm/utils/unittest/googlemock/LICENSE.txt
    R llvm/utils/unittest/googlemock/README.LLVM
    R llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-cardinalities.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-function-mocker.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-generated-actions.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-more-actions.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-more-matchers.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-nice-strict.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock-spec-builders.h
    R llvm/utils/unittest/googlemock/include/gmock/gmock.h
    R llvm/utils/unittest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h
    R llvm/utils/unittest/googlemock/include/gmock/internal/custom/gmock-matchers.h
    R llvm/utils/unittest/googlemock/include/gmock/internal/custom/gmock-port.h
    R llvm/utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h
    R llvm/utils/unittest/googlemock/include/gmock/internal/gmock-port.h
    R llvm/utils/unittest/googlemock/include/gmock/internal/gmock-pp.h
    R llvm/utils/unittest/googlemock/src/gmock-all.cc
    R llvm/utils/unittest/googlemock/src/gmock-cardinalities.cc
    R llvm/utils/unittest/googlemock/src/gmock-internal-utils.cc
    R llvm/utils/unittest/googlemock/src/gmock-matchers.cc
    R llvm/utils/unittest/googlemock/src/gmock-spec-builders.cc
    R llvm/utils/unittest/googlemock/src/gmock.cc
    R llvm/utils/unittest/googletest/LICENSE.TXT
    R llvm/utils/unittest/googletest/README.LLVM
    R llvm/utils/unittest/googletest/include/gtest/gtest-death-test.h
    R llvm/utils/unittest/googletest/include/gtest/gtest-matchers.h
    R llvm/utils/unittest/googletest/include/gtest/gtest-message.h
    R llvm/utils/unittest/googletest/include/gtest/gtest-param-test.h
    R llvm/utils/unittest/googletest/include/gtest/gtest-printers.h
    R llvm/utils/unittest/googletest/include/gtest/gtest-spi.h
    R llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h
    R llvm/utils/unittest/googletest/include/gtest/gtest-typed-test.h
    R llvm/utils/unittest/googletest/include/gtest/gtest.h
    R llvm/utils/unittest/googletest/include/gtest/gtest_pred_impl.h
    R llvm/utils/unittest/googletest/include/gtest/gtest_prod.h
    R llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-port.h
    R llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
    R llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest.h
    R llvm/utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-filepath.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-string.h
    R llvm/utils/unittest/googletest/include/gtest/internal/gtest-type-util.h
    R llvm/utils/unittest/googletest/src/gtest-all.cc
    R llvm/utils/unittest/googletest/src/gtest-death-test.cc
    R llvm/utils/unittest/googletest/src/gtest-filepath.cc
    R llvm/utils/unittest/googletest/src/gtest-internal-inl.h
    R llvm/utils/unittest/googletest/src/gtest-matchers.cc
    R llvm/utils/unittest/googletest/src/gtest-port.cc
    R llvm/utils/unittest/googletest/src/gtest-printers.cc
    R llvm/utils/unittest/googletest/src/gtest-test-part.cc
    R llvm/utils/unittest/googletest/src/gtest-typed-test.cc
    R llvm/utils/unittest/googletest/src/gtest.cc
    M mlir/CMakeLists.txt
    M polly/CMakeLists.txt
    A third-party/unittest/CMakeLists.txt
    A third-party/unittest/UnitTestMain/CMakeLists.txt
    A third-party/unittest/UnitTestMain/TestMain.cpp
    A third-party/unittest/googlemock/LICENSE.txt
    A third-party/unittest/googlemock/README.LLVM
    A third-party/unittest/googlemock/include/gmock/gmock-actions.h
    A third-party/unittest/googlemock/include/gmock/gmock-cardinalities.h
    A third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h
    A third-party/unittest/googlemock/include/gmock/gmock-generated-actions.h
    A third-party/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h
    A third-party/unittest/googlemock/include/gmock/gmock-generated-matchers.h
    A third-party/unittest/googlemock/include/gmock/gmock-matchers.h
    A third-party/unittest/googlemock/include/gmock/gmock-more-actions.h
    A third-party/unittest/googlemock/include/gmock/gmock-more-matchers.h
    A third-party/unittest/googlemock/include/gmock/gmock-nice-strict.h
    A third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h
    A third-party/unittest/googlemock/include/gmock/gmock.h
    A third-party/unittest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h
    A third-party/unittest/googlemock/include/gmock/internal/custom/gmock-matchers.h
    A third-party/unittest/googlemock/include/gmock/internal/custom/gmock-port.h
    A third-party/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h
    A third-party/unittest/googlemock/include/gmock/internal/gmock-port.h
    A third-party/unittest/googlemock/include/gmock/internal/gmock-pp.h
    A third-party/unittest/googlemock/src/gmock-all.cc
    A third-party/unittest/googlemock/src/gmock-cardinalities.cc
    A third-party/unittest/googlemock/src/gmock-internal-utils.cc
    A third-party/unittest/googlemock/src/gmock-matchers.cc
    A third-party/unittest/googlemock/src/gmock-spec-builders.cc
    A third-party/unittest/googlemock/src/gmock.cc
    A third-party/unittest/googletest/LICENSE.TXT
    A third-party/unittest/googletest/README.LLVM
    A third-party/unittest/googletest/include/gtest/gtest-death-test.h
    A third-party/unittest/googletest/include/gtest/gtest-matchers.h
    A third-party/unittest/googletest/include/gtest/gtest-message.h
    A third-party/unittest/googletest/include/gtest/gtest-param-test.h
    A third-party/unittest/googletest/include/gtest/gtest-printers.h
    A third-party/unittest/googletest/include/gtest/gtest-spi.h
    A third-party/unittest/googletest/include/gtest/gtest-test-part.h
    A third-party/unittest/googletest/include/gtest/gtest-typed-test.h
    A third-party/unittest/googletest/include/gtest/gtest.h
    A third-party/unittest/googletest/include/gtest/gtest_pred_impl.h
    A third-party/unittest/googletest/include/gtest/gtest_prod.h
    A third-party/unittest/googletest/include/gtest/internal/custom/gtest-port.h
    A third-party/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
    A third-party/unittest/googletest/include/gtest/internal/custom/gtest.h
    A third-party/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-filepath.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-internal.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-param-util.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-port-arch.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-port.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-string.h
    A third-party/unittest/googletest/include/gtest/internal/gtest-type-util.h
    A third-party/unittest/googletest/src/gtest-all.cc
    A third-party/unittest/googletest/src/gtest-death-test.cc
    A third-party/unittest/googletest/src/gtest-filepath.cc
    A third-party/unittest/googletest/src/gtest-internal-inl.h
    A third-party/unittest/googletest/src/gtest-matchers.cc
    A third-party/unittest/googletest/src/gtest-port.cc
    A third-party/unittest/googletest/src/gtest-printers.cc
    A third-party/unittest/googletest/src/gtest-test-part.cc
    A third-party/unittest/googletest/src/gtest-typed-test.cc
    A third-party/unittest/googletest/src/gtest.cc

  Log Message:
  -----------
  Move googletest to the third-party directory

This will help improve the project's layering, so that sub-projects
that don't actually need any llvm code can still use googletest
without having to reference code in the llvm directory.

This will also make it easier to consolidate and simplify the standalone
build configurations.

Reviewed By: stellaraccident, lattner, probinson, phosek

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




More information about the All-commits mailing list