summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-19 12:24:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-19 12:24:25 (GMT)
commit71c752a63b8904de48b3d61535b4fe1ba368d430 (patch)
treec5873b24cd9b535d037ce5b5d392952696fe96b9 /Tests
parentd947310f173a2652c3b069ade212d548075e4d7b (diff)
parente2cca9f8ee04e9c775aee2276dd7122dcabf5dc4 (diff)
downloadCMake-71c752a63b8904de48b3d61535b4fe1ba368d430.zip
CMake-71c752a63b8904de48b3d61535b4fe1ba368d430.tar.gz
CMake-71c752a63b8904de48b3d61535b4fe1ba368d430.tar.bz2
Merge topic 'gtest-fix-windows-linking'
e2cca9f8 FindGTest: Avoid macro name collision 4636c64b FindGTest: Improve test to catch link error 35061791 FindGTest: Fix shared linking on Windows 9fd9e448 FindGTest: Avoid using find_dependency in a find module Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1267
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindGTest/Test/main.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/FindGTest/Test/main.cxx b/Tests/FindGTest/Test/main.cxx
index 0572a5d..19d2967 100644
--- a/Tests/FindGTest/Test/main.cxx
+++ b/Tests/FindGTest/Test/main.cxx
@@ -2,5 +2,7 @@
TEST(FindCMake, LinksAndRuns)
{
+ using namespace testing;
+ EXPECT_FALSE(GTEST_FLAG(list_tests));
ASSERT_TRUE(true);
}