[all-commits] [llvm/llvm-project] 0d5445: [IntrospectionTest] Replace "return" with "GTEST_S...

Paul T Robinson via All-commits all-commits at lists.llvm.org
Fri Feb 4 12:36:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d54457f8aed169dff8a668059979a2646afc3fc
      https://github.com/llvm/llvm-project/commit/0d54457f8aed169dff8a668059979a2646afc3fc
  Author: Paul Robinson <paul.robinson at sony.com>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    M clang/unittests/Introspection/IntrospectionTest.cpp

  Log Message:
  -----------
  [IntrospectionTest] Replace "return" with "GTEST_SKIP"

If a test simply returns, it gets mis-reported as a pass; being
reported as SKIPPED is correct.

Found by the Rotten Green Tests project.




More information about the All-commits mailing list