We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f45b7a7 commit 600122eCopy full SHA for 600122e
Firestore/core/test/unit/local/leveldb_snappy_test.cc
@@ -43,6 +43,12 @@ Path CreateLevelDbDatabaseThatUsesSnappyCompression();
43
// This test ensures that we don't accidentally regress having added in Snappy
44
// compression support (https://github.com/firebase/firebase-ios-sdk/pull/9596).
45
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
+
52
Path leveldb_path = CreateLevelDbDatabaseThatUsesSnappyCompression();
53
if (HasFatalFailure()) return;
54
0 commit comments