Skip to content

Commit 600122e

Browse files
committed
Revert "leveldb_snappy_test.cc: REVERT ME: temporarily allow the test to fail on iOS to verify the fix to xcresult_logs.py in #9645"
This reverts commit 73a558c.
1 parent f45b7a7 commit 600122e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Firestore/core/test/unit/local/leveldb_snappy_test.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ Path CreateLevelDbDatabaseThatUsesSnappyCompression();
4343
// This test ensures that we don't accidentally regress having added in Snappy
4444
// compression support (https://github.com/firebase/firebase-ios-sdk/pull/9596).
4545
TEST(LevelDbSnappy, LevelDbHasSnappySupportCompiledIn) {
46+
// Only run this test in cmake builds, since Snappy support is not included
47+
// when pulling in LevelDb via CocoaPods or Swift Package Manager.
48+
#if FIRESTORE_TESTS_CMAKE_BUILD
49+
GTEST_SKIP() << "Snappy support is only present in cmake builds";
50+
#endif
51+
4652
Path leveldb_path = CreateLevelDbDatabaseThatUsesSnappyCompression();
4753
if (HasFatalFailure()) return;
4854

0 commit comments

Comments
 (0)