diff --git a/utilities/geodb/geodb_test.cc b/utilities/geodb/geodb_test.cc index 93fa1e196..15b03be3a 100644 --- a/utilities/geodb/geodb_test.cc +++ b/utilities/geodb/geodb_test.cc @@ -3,7 +3,7 @@ // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // -// +#ifndef ROCKSDB_LITE #include "utilities/geodb/geodb_impl.h" #include @@ -122,3 +122,13 @@ int main(int argc, char* argv[]) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } +#else + +#include + +int main() { + fprintf(stderr, "SKIPPED\n"); + return 0; +} + +#endif // !ROCKSDB_LITE