[RGT] Use GTEST_SKIP() in more places where we skip a test
authorPaul Robinson <paul.robinson@sony.com>
Fri, 8 Apr 2022 22:18:50 +0000 (15:18 -0700)
committerPaul Robinson <paul.robinson@sony.com>
Fri, 8 Apr 2022 22:20:53 +0000 (15:20 -0700)
commit6aa8a836c0f60e06957b704b226547712ee752a6
treec928806b24970f992e9f261ea03adf12c416fec3
parent88a7508b1fd87c7dd7f155cb1541c61f4c1f1bc8
[RGT] Use GTEST_SKIP() in more places where we skip a test

Simply returning will report the test as PASSED when it didn't
really do anything. SKIPPED is the correct result for these.

Found by the Rotten Green Tests project.
llvm/unittests/Support/CrashRecoveryTest.cpp
llvm/unittests/Support/Path.cpp
llvm/unittests/Support/ProcessTest.cpp
llvm/unittests/Support/ThreadPool.cpp
llvm/unittests/Support/VirtualFileSystemTest.cpp