Cantera 2.6.0

gtest_utils.h
1// This file is part of Cantera. See License.txt in the top-level directory or
2// at https://cantera.org/license.txt for license and copyright information.
3
4#ifndef CT_GTEST_UTILS_H
5#define CT_GTEST_UTILS_H
6
7// Wrap a test name in SLOW_TEST to disable it if the "skip_slow_tests=y" option
8// is passed to SCons. For example:
9// TEST_F(GriMatrix, SLOW_TEST(VcsNonideal_CH4_O2))
10
11#ifdef CT_SKIP_SLOW
12#define SLOW_TEST(x) DISABLED_ ## x
13#else
14#define SLOW_TEST(x) x
15#endif
16
17#endif