@ -3,6 +3,8 @@
// LICENSE file in the root directory of this source tree. An additional grant
// 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.
// of patent rights can be found in the PATENTS file in the same directory.
# ifndef ROCKSDB_LITE
# include <algorithm>
# include <algorithm>
# include "rocksdb/utilities/json_document.h"
# include "rocksdb/utilities/json_document.h"
@ -322,3 +324,13 @@ int main(int argc, char** argv) {
: : testing : : InitGoogleTest ( & argc , argv ) ;
: : testing : : InitGoogleTest ( & argc , argv ) ;
return RUN_ALL_TESTS ( ) ;
return RUN_ALL_TESTS ( ) ;
}
}
# else
# include <stdio.h>
int main ( int argc , char * * argv ) {
fprintf ( stderr , " SKIPPED as DocumentDB is not supported in ROCKSDB_LITE \n " ) ;
return 0 ;
}
# endif // !ROCKSDB_LITE