Fix failure of sst_file_reader_test in LITE mode regression test (#4725)

Summary:
Add a dummy main() in sst_file_reader_test for ROCKSDB_LITE to fix link failure in regression
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4725

Differential Revision: D13252885

Pulled By: anand1976

fbshipit-source-id: 0e22b964815e2bf01aff7d03ed4ae59d44fa86f1
main
anand76 6 years ago committed by Facebook Github Bot
parent 1a5a93ff74
commit 8d9b4d9741
  1. 8
      table/sst_file_reader_test.cc

@ -95,4 +95,12 @@ int main(int argc, char** argv) {
return RUN_ALL_TESTS();
}
#else
#include <stdio.h>
int main(int /*argc*/, char** /*argv*/) {
fprintf(stderr, "SKIPPED as SstFileReader is not supported in ROCKSDB_LITE\n");
return 0;
}
#endif // ROCKSDB_LITE

Loading…
Cancel
Save