Skipped tests shouldn't be failures

Summary: If we skip a test, we shouldn't mark `make check` as failure. This fixes travis CI test.

Test Plan: Travis CI

Reviewers: noetzli, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D47031
main
Igor Canadi 9 years ago
parent 5ba3297d0d
commit 1b7ea8ce81
  1. 4
      db/prefix_test.cc
  2. 4
      util/bloom_test.cc
  3. 4
      util/dynamic_bloom_test.cc

@ -8,8 +8,8 @@
#ifndef GFLAGS
#include <cstdio>
int main() {
fprintf(stderr, "Please install gflags to run rocksdb tools\n");
return 1;
fprintf(stderr, "Please install gflags to run this test... Skipping...\n");
return 0;
}
#else

@ -10,8 +10,8 @@
#ifndef GFLAGS
#include <cstdio>
int main() {
fprintf(stderr, "Please install gflags to run rocksdb tools\n");
return 1;
fprintf(stderr, "Please install gflags to run this test... Skipping...\n");
return 0;
}
#else

@ -6,8 +6,8 @@
#ifndef GFLAGS
#include <cstdio>
int main() {
fprintf(stderr, "Please install gflags to run rocksdb tools\n");
return 1;
fprintf(stderr, "Please install gflags to run this test... Skipping...\n");
return 0;
}
#else

Loading…
Cancel
Save