summaryrefslogtreecommitdiff
path: root/table/table_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'table/table_test.cc')
-rw-r--r--table/table_test.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/table/table_test.cc b/table/table_test.cc
index 7f0f998..a405586 100644
--- a/table/table_test.cc
+++ b/table/table_test.cc
@@ -791,10 +791,8 @@ static bool SnappyCompressionSupported() {
}
TEST(TableTest, ApproximateOffsetOfCompressed) {
- if (!SnappyCompressionSupported()) {
- std::fprintf(stderr, "skipping compression tests\n");
- return;
- }
+ if (!SnappyCompressionSupported())
+ GTEST_SKIP() << "skipping compression tests";
Random rnd(301);
TableConstructor c(BytewiseComparator());