Ver a proveniência

Use GTEST_SKIP in leveldb:table_test

This replaces a usage of fprintf to stderr

PiperOrigin-RevId: 454620969
ld
leveldb Team há 2 anos
committed by Victor Costan
ascendente
cometimento
fff74f20ff
1 ficheiros alterados com 2 adições e 4 eliminações
  1. +2
    -4
      table/table_test.cc

+ 2
- 4
table/table_test.cc Ver ficheiro

@ -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());

Carregando…
Cancelar
Guardar