aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2022-04-08 15:18:50 -0700
committerPaul Robinson <paul.robinson@sony.com>2022-04-08 15:20:53 -0700
commit6aa8a836c0f60e06957b704b226547712ee752a6 (patch)
treec928806b24970f992e9f261ea03adf12c416fec3 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent88a7508b1fd87c7dd7f155cb1541c61f4c1f1bc8 (diff)
downloadllvm-6aa8a836c0f60e06957b704b226547712ee752a6.zip
llvm-6aa8a836c0f60e06957b704b226547712ee752a6.tar.gz
llvm-6aa8a836c0f60e06957b704b226547712ee752a6.tar.bz2
[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.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
-rw-r--r--llvm/unittests/Support/VirtualFileSystemTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/VirtualFileSystemTest.cpp b/llvm/unittests/Support/VirtualFileSystemTest.cpp
index 1eb7fe6..9f73e89 100644
--- a/llvm/unittests/Support/VirtualFileSystemTest.cpp
+++ b/llvm/unittests/Support/VirtualFileSystemTest.cpp
@@ -2143,7 +2143,7 @@ TEST_F(VFSFromYAMLTest, DirectoryIteration) {
TEST_F(VFSFromYAMLTest, DirectoryIterationSameDirMultipleEntries) {
// https://llvm.org/bugs/show_bug.cgi?id=27725
if (!supportsSameDirMultipleYAMLEntries())
- return;
+ GTEST_SKIP();
IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
Lower->addDirectory("//root/zab");