blob: 4adcb69d9927e4cb29ba2c46b743a01d53b687fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
#pragma once
#include <cstdlib>
static inline bool is_crimson_cluster() {
return getenv("CRIMSON_COMPAT") != nullptr;
}
#define SKIP_IF_CRIMSON() \
if (is_crimson_cluster()) { \
GTEST_SKIP() << "Not supported by crimson yet. Skipped"; \
}
|