Skip to content

Commit

Permalink
Block geodb_test in ROCKSDB_LITE
Browse files Browse the repository at this point in the history
Summary:
Block geodb_test in ROCKSDB_LITE as geodb is not supported
in ROCKSDB_LITE

Test Plan: geodb_test

Reviewers: sdong, rven, anthony, kradhakrishnan, IslamAbdelRahman, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D40335
  • Loading branch information
yhchiang committed Jun 18, 2015
1 parent 71b438c commit 4d6d476
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion utilities/geodb/geodb_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cctype>
Expand Down Expand Up @@ -122,3 +122,13 @@ int main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
#else

#include <stdio.h>

int main() {
fprintf(stderr, "SKIPPED\n");
return 0;
}

#endif // !ROCKSDB_LITE

0 comments on commit 4d6d476

Please sign in to comment.