From a5391b50a28bc27deb48a5f6624305bbf58c6175 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Mon, 9 Feb 2009 19:56:02 +0000 Subject: [PATCH] Adds gtest_all_test.cc. Also cleans up gtest_unittest.cc. --- Makefile.am | 5 ++-- msvc/gtest_unittest.vcproj | 4 ++-- scons/SConscript | 2 +- test/gtest_all_test.cc | 48 ++++++++++++++++++++++++++++++++++++++ test/gtest_unittest.cc | 19 --------------- 5 files changed, 54 insertions(+), 24 deletions(-) create mode 100644 test/gtest_all_test.cc diff --git a/Makefile.am b/Makefile.am index 59715162..2a465ddc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,8 @@ EXTRA_DIST = \ scons/SConscript \ scripts/fuse_gtest_files.py \ scripts/gen_gtest_pred_impl.py \ - src/gtest-all.cc + src/gtest-all.cc \ + test/gtest_all_test.cc # MSVC project files EXTRA_DIST += \ @@ -272,7 +273,7 @@ test_gtest_typed_test_test_LDADD = lib/libgtest_main.la TESTS += test/gtest_unittest check_PROGRAMS += test/gtest_unittest test_gtest_unittest_SOURCES = test/gtest_unittest.cc -test_gtest_unittest_LDADD = lib/libgtest.la +test_gtest_unittest_LDADD = lib/libgtest_main.la # The following tests depend on the presence of a Python installation and are # keyed off of it. TODO(chandlerc@google.com): While we currently only attempt diff --git a/msvc/gtest_unittest.vcproj b/msvc/gtest_unittest.vcproj index 609aa9ae..07e00a24 100755 --- a/msvc/gtest_unittest.vcproj +++ b/msvc/gtest_unittest.vcproj @@ -107,8 +107,8 @@ + ReferencedProjectIdentifier="{3AF54C8A-10BF-4332-9147-F68ED9862032}" + Name="gtest_main"/>