Improves the scons scripts and run_tests.py (by Vlad Losev); uses typed tests in gtest-port_test.cc only when typed tests are available (by Zhanyong Wan); makes gtest-param-util-generated.h conform to the C++ standard (by Zhanyong Wan).
This commit is contained in:
@@ -161,6 +161,8 @@ TEST(GtestCheckDeathTest, LivesSilentlyOnSuccess) {
|
||||
|
||||
#if GTEST_USES_POSIX_RE
|
||||
|
||||
#if GTEST_HAS_TYPED_TEST
|
||||
|
||||
template <typename Str>
|
||||
class RETest : public ::testing::Test {};
|
||||
|
||||
@@ -223,6 +225,8 @@ TYPED_TEST(RETest, PartialMatchWorks) {
|
||||
EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
|
||||
}
|
||||
|
||||
#endif // GTEST_HAS_TYPED_TEST
|
||||
|
||||
#elif GTEST_USES_SIMPLE_RE
|
||||
|
||||
TEST(IsInSetTest, NulCharIsNotInAnySet) {
|
||||
|
||||
@@ -42,9 +42,9 @@ sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), os.pardir))
|
||||
import run_tests
|
||||
|
||||
|
||||
GTEST_DBG_DIR = 'scons/build/dbg/scons'
|
||||
GTEST_OPT_DIR = 'scons/build/opt/scons'
|
||||
GTEST_OTHER_DIR = 'scons/build/other/scons'
|
||||
GTEST_DBG_DIR = 'scons/build/dbg/gtest/scons'
|
||||
GTEST_OPT_DIR = 'scons/build/opt/gtest/scons'
|
||||
GTEST_OTHER_DIR = 'scons/build/other/gtest/scons'
|
||||
|
||||
|
||||
def AddExeExtension(path):
|
||||
|
||||
Reference in New Issue
Block a user