Commit Graph

52 Commits

Author SHA1 Message Date
Carlo Wood
fc979623a9 Minor build system fixes. 2019-03-01 08:11:56 +01:00
Carlos O'Ryan
aea8580ecf
Run autoconf from top-level directory.
This is part (hopefully all) of the fixes for #776.  The top-level
configure.ac configures googletest first and then googlemock.
With this changes it is possible to embed googletest into another
project that uses autoconf.  For an example (though it is WIP), see
the commits (and soon PR) referenced from google/protobuf#236.
2017-12-03 14:07:35 -05:00
Billy Donahue
1f87a0970d Move everything in googletest into googletest/googletest 2015-08-25 16:18:00 -04:00
zhanyong.wan
c306ef2e14 supports a protocol for catching tests that prematurely exit 2013-09-06 22:50:25 +00:00
zhanyong.wan
88fe90793c Removes dangling references in make/cmake files. 2013-02-27 18:51:27 +00:00
kosak
cc1fdb58ca Removes testing::internal::String::Format(), which causes problems as it truncates the result at 4096 chars. Also update an obsolete link in comment. 2013-02-22 20:10:40 +00:00
vladlosev
d367343685 Adds the LICENSE file to the distribution. 2013-01-29 20:34:47 +00:00
vladlosev
758728ba9b Makes generation of fused sources contingent on availability of Python. 2011-04-21 21:48:51 +00:00
zhanyong.wan
661758ec1a disables 'make install' 2011-04-07 07:08:02 +00:00
zhanyong.wan
98054bd134 fixes link error in 'make check' on some systems 2011-04-07 02:37:43 +00:00
zhanyong.wan
9b89752035 Adds test/gtest-death-test_ex_test.cc to the release package. 2011-02-24 21:06:00 +00:00
zhanyong.wan
0e651afade Adds cmake scripts to the release package. 2011-02-24 20:51:17 +00:00
zhanyong.wan
a9f380f5c7 Removes the Windows golden file (by Vlad Losev); implements test result streaming (by Nikhil Jindal and cleaned up by Zhanyong Wan). 2010-08-19 22:16:00 +00:00
zhanyong.wan
b83585c4de Adds new test files to the distro, and sorts the file lists. 2010-08-09 22:42:56 +00:00
zhanyong.wan
598fe2288e Removes unused scripts from the distro. 2010-07-22 22:22:18 +00:00
vladlosev
7aec2f36ba Lucid autotools compatibility patch by Jeffrey Yasskin. 2010-05-11 09:39:04 +00:00
zhanyong.wan
2ccea88c99 Moves the universal printer from gmock to gtest and refactors the cmake script for reusing in gmock (by Vlad Losev). 2010-05-10 17:11:58 +00:00
zhanyong.wan
509b5339e9 Simplifies Makefile.am (by Zhanyong Wan and Vlad Losev). 2010-04-13 02:19:25 +00:00
zhanyong.wan
75e2713e45 Adds the pump.py script. 2010-03-23 07:23:27 +00:00
zhanyong.wan
9f0824b0a6 Adds missing gtest DLL exports. 2010-03-22 21:23:51 +00:00
zhanyong.wan
f3feb338ef Removes the old DLL solution. 2010-03-05 21:41:43 +00:00
zhanyong.wan
3bef459eac Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth). 2010-02-24 17:19:25 +00:00
zhanyong.wan
a3dd9d97c5 Supports building gtest as a DLL (by Vlad Losev). 2009-12-18 05:23:04 +00:00
zhanyong.wan
075b76bb96 Trims the autotools build script. 2009-12-16 21:40:41 +00:00
zhanyong.wan
2e075a7f60 Refactors run_tests.py s.t. it can be shared by gmock (by Vlad Losev); Fixes a warning in gtest-tuple_test.cc on Cygwin (by Vlad Losev). 2009-11-24 20:19:45 +00:00
vladlosev
bad778caa3 Implements support for AssertionResult in Boolean assertions such as EXPECT_TRUE; Fixes Google Tests's tuple implementation to default-initialize its fields in the default constructor (by Zhanyong Wan); Populates gtest_stress_test.cc with actual tests. 2009-10-20 21:03:10 +00:00
zhanyong.wan
bd851333e8 Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original patch).
Enables death tests on minGW (by Vlad Losev).
2009-09-30 23:46:28 +00:00
zhanyong.wan
bcaf6f542f Removes deprecated /Wp64 flag from VC projects; also removes unneeded VC projects. 2009-09-11 05:41:41 +00:00
zhanyong.wan
16e9dd6e28 More implementation of the event listener interface (by Vlad Losev); Reduces the stack space usage of assertions by moving AssertHelper's fields to the heap (by Jorg Brown); Makes String faster, smaller, and simpler (by Zhanyong Wan); Fixes a bug in String::Format() (by Chandler); Adds the /MD version of VC projects to the distribution (by Vlad Losev). 2009-09-04 18:30:25 +00:00
chandlerc
888b6ebe7d Fix the 'make dist' behavior to include gtest-tuple.h and gtest-tuple.h.pump.
Missing these caused failures on platforms depending on them as well as general
failures of the dedicated tests for the tuple implementation.

Change was tested by running 'make distcheck' and then extracting the result to
an entirely separate location (a subdirectory is insufficient, thank you
Autotools) and running './configure; make check'.
2009-08-11 02:16:16 +00:00
zhanyong.wan
c214ebc830 More refactoring for the event listener API, by Vlad Losev. 2009-07-16 00:36:55 +00:00
zhanyong.wan
532dc2de35 Implements a subset of TR1 tuple needed by gtest and gmock (by Zhanyong Wan); cleaned up the Python tests (by Vlad Losev); made run_tests.py invokable from any directory (by Vlad Losev). 2009-06-17 21:06:27 +00:00
zhanyong.wan
683f431d83 Works around a gcc bug when compiling tr1/tuple with RTTI disabled. 2009-06-11 03:33:05 +00:00
zhanyong.wan
c78ae6196d Ports gtest to C++Builder, by Josh Kelley. 2009-04-28 00:28:09 +00:00
zhanyong.wan
f2334aa195 Ports gtest to minGW (by Kenton Varda). 2009-04-25 04:42:30 +00:00
zhanyong.wan
1f8a50e429 Adds scripts/test/Makefile to the distribution in trunk. 2009-03-18 22:22:09 +00:00
zhanyong.wan
87d23e45f0 Implements the --help flag; fixes tests on Windows. 2009-03-11 22:18:52 +00:00
zhanyong.wan
40e72a8a83 Implements --gtest_throw_on_failure for using gtest with other testing frameworks. 2009-03-06 20:05:23 +00:00
zhanyong.wan
f0048c1bea Removes upload*.py from the release package, as they are useless without an SVN checkout. 2009-02-13 19:05:00 +00:00
zhanyong.wan
44c88653fc Adds upload_gtest.py for uploading a Google Test patch for review. 2009-02-13 07:27:00 +00:00
zhanyong.wan
a5391b50a2 Adds gtest_all_test.cc. Also cleans up gtest_unittest.cc. 2009-02-09 19:56:02 +00:00
zhanyong.wan
b593ccbbbe Adds a script to fuse gtest source files into a .h and a .cc. 2009-01-22 17:21:13 +00:00
shiqian
3bcc7a2173 Adds Makefile to the distribution pacakge. 2008-12-10 22:56:18 +00:00
vladlosev
389508e355 Merged build script fix from branches/release-1.2 2008-11-27 00:18:29 +00:00
shiqian
1081384940 Sorts the sample and test targets in Makefile.am within their functional group. 2008-11-20 19:40:19 +00:00
vladlosev
3d70421763 Value-parameterized tests and many bugfixes 2008-11-20 01:40:35 +00:00
shiqian
321234377e Fixes the header search path in SConscript and add SConscript to the distribution. 2008-10-12 01:07:26 +00:00
shiqian
e0865dd919 Many changes:
- appends "_" to internal macro names (by Markus Heule).
- makes Google Test work with newer versions of tools on Symbian and Windows CE (by Mika Raento).
- adds the (ASSERT|EXPECT)_NO_FATAL_FAILURE macros (by Markus Heule).
- changes EXPECT_(NON|)FATAL_FAILURE to catch failures in the current thread only (by Markus Heule).
- adds the EXPECT_(NON|)FATAL_FAILURE_ON_ALL_THREADS macros (by Markus Heule).
- adds GTEST_HAS_PTHREAD and GTEST_IS_THREADSAFE to indicate the availability of <pthread.h> and Google Test's thread-safety (by Zhanyong Wan).
- adds scons/SConscript for building with scons (by Joi Sigurdsson).
- adds src/gtest-all.cc for building Google Test from a single file (by Markus Heule).
- updates the xcode project to include new tests (by Preston Jackson).
2008-10-11 07:20:02 +00:00
preston.jackson
0cbe322d37 Adding tests to Xcode project 2008-10-08 20:24:46 +00:00
shiqian
a2b1a8556e Adds support for type-parameterized tests (by Zhanyong Wan); also adds case-insensitive wide string comparison to the String class (by Vlad Losev). 2008-09-08 17:55:52 +00:00