Block forward_iterator_bench under MAC and Windows

Summary:
Travis is now failing because we cannot compile forward_iterator_bench under MAC
https://travis-ci.org/facebook/rocksdb/jobs/91524025

In forward_iterator_bench.cc we are using multiple functions that are not available in MAC like
htobe64
be64toh

Blocking forward_iterator_bench under MAC

Test Plan: compile under mac

Reviewers: rven, yhchiang, anthony, sdong

Reviewed By: sdong

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D50889
This commit is contained in:
Islam AbdelRahman 2015-11-17 11:51:37 -08:00
parent 9b8c9be0b5
commit 605a24d94e

View file

@ -13,6 +13,9 @@ int main() {
fprintf(stderr, "Please install gflags to run rocksdb tools\n"); fprintf(stderr, "Please install gflags to run rocksdb tools\n");
return 1; return 1;
} }
#elif defined(OS_MACOSX) || defined(OS_WIN)
// Block forward_iterator_bench under MAC and Windows
int main() { return 0; }
#else #else
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include <semaphore.h> #include <semaphore.h>