Block redis_test in ROCKSDB_LITE

Summary: Block redis_test in ROCKSDB_LITE as utilities not supported in ROCKSDB_LITE.

Test Plan: redis_test

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

Reviewed By: IslamAbdelRahman

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D40587
main
Yueh-Hsuan Chiang 10 years ago
parent dec2c9f564
commit 72cab88959
  1. 10
      utilities/redis/redis_lists_test.cc

@ -15,6 +15,7 @@
* @author Deon Nicholas (dnicholas@fb.com)
*/
#ifndef ROCKSDB_LITE
#include <iostream>
#include <cctype>
@ -882,3 +883,12 @@ int main(int argc, char* argv[]) {
}
}
#else
#include <stdio.h>
int main(int argc, char* argv[]) {
fprintf(stderr, "SKIPPED as redis is not supported in ROCKSDB_LITE\n");
return 0;
}
#endif // !ROCKSDB_LITE

Loading…
Cancel
Save