[all-commits] [llvm/llvm-project] dd1c4b: Name all DEATH tests using 'DeathTest' suffix.

Mitch Phillips via All-commits all-commits at lists.llvm.org
Fri Jul 2 14:21:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd1c4bd09dd7a48c744f58847862f2e2bd633477
      https://github.com/llvm/llvm-project/commit/dd1c4bd09dd7a48c744f58847862f2e2bd633477
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M compiler-rt/lib/gwp_asan/tests/backtrace.cpp
    M compiler-rt/lib/gwp_asan/tests/enable_disable.cpp
    M compiler-rt/lib/gwp_asan/tests/harness.h
    M compiler-rt/lib/scudo/standalone/tests/chunk_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/map_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/report_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp

  Log Message:
  -----------
  Name all DEATH tests using 'DeathTest' suffix.

gtest highly recommends this prefix, and runs death tests first
(https://github.com/google/googletest/blob/master/docs/advanced.md#death-test-naming).
This may help with some spurious bot failures like
https://lab.llvm.org/buildbot/#/builders/169/builds/1290/steps/25/logs/stdio.

Reviewed By: cryptoad, vitalybuka

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




More information about the All-commits mailing list