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
This commit is contained in:
Yueh-Hsuan Chiang 2015-06-24 01:44:21 -07:00
parent dec2c9f564
commit 72cab88959

View File

@ -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