[all-commits] [llvm/llvm-project] 84fbed: [scudo] Refactor the secondary test (#125595)

Christopher Ferris via All-commits all-commits at lists.llvm.org
Tue Feb 4 08:46:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84fbed86ffcb97c24f9294a204c60da5444b8646
      https://github.com/llvm/llvm-project/commit/84fbed86ffcb97c24f9294a204c60da5444b8646
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/scudo_unit_test.h
    M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp

  Log Message:
  -----------
  [scudo] Refactor the secondary test (#125595)

Remove all redundant code and create a couple of structs to handle
automatic init and destruction. This replaces the test fixtures in
prepartion for passing in multiple configs for some of these tests. This
is necessary because not all of the gtest features are supported here,
and there is no easy way to create a test fixture with a template.



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