[all-commits] [llvm/llvm-project] afd738: [clang] Shard out some small gtest binaries (#138021)

Reid Kleckner via All-commits all-commits at lists.llvm.org
Wed Apr 30 16:40:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afd738cd9016ddef4e26b309770ba35fd017a178
      https://github.com/llvm/llvm-project/commit/afd738cd9016ddef4e26b309770ba35fd017a178
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M clang/unittests/Basic/CMakeLists.txt
    M clang/unittests/Format/CMakeLists.txt
    M clang/unittests/libclang/CrashTests/CMakeLists.txt
    M clang/unittests/libclang/CrashTests/LibclangCrashTest.cpp

  Log Message:
  -----------
  [clang] Shard out some small gtest binaries (#138021)

@nico mentioned that FormatTests and BasicTests are small binaries with
few dependencies, so keeping them separate is nice. I broke them out as
distinct test binaries, and they are still pretty small:

$ find tools/clang/unittests/ -type f -name '*Tests' | xargs du -cksh |
sort -nr
708M    total
276M    tools/clang/unittests/AllClangUnitTests
244M    tools/clang/unittests/Interpreter/ClangReplInterpreterTests
167M
tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
 13M    tools/clang/unittests/Format/FormatTests
6.9M    tools/clang/unittests/Basic/BasicTests
1.1M    tools/clang/unittests/libclang/CrashTests/libclangCrashTests

I also broke out libclangCrashTests and re-enabled the failing test to
resolve llvm#137855.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list