History log of /external/gtest/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e8981d1a842397174f786c510ffd6482b3723e84 11-Jun-2014 Christopher Ferris <cferris@google.com> Add LOCAL_MULTILIB := both for host targets.

Change-Id: Iaded56bc87bdc59058b4d7064eb97fc321d497a0
ndroid.mk
be7f2ef983ab49c9c3da8a872661376ea7672acf 21-May-2014 Dan Albert <danalbert@google.com> Fixes gtest_libc++ on Mac by moving to clang

The version of g++ that was being used on Mac was unable to properly resolve
some of the template functions.

Change-Id: Ieab2c0938638ee0438602e49ac171e58ada2902b
ndroid.mk
75949c699819af8941b4b1e7997a10c3ec5f72cf 17-May-2014 Dan Albert <danalbert@google.com> Don't build libc++ libs for ub branches

Change-Id: Ib73f6d38ed7d2bcb759a0f3e4ee44010b552fddc
ndroid.mk
d72b5dc9a6c2d2427c48886a8ffe41a16b88c262 28-Apr-2014 Dan Albert <danalbert@google.com> Creates gtest libs linked against libc++

Change-Id: I7d71e1aac072258e62eba7b2bfba9f1ff6f98c82
ndroid.mk
142396ecef3a2a36465f7025e7533e6a62dd3294 29-Jan-2014 Elliott Hughes <enh@google.com> Build gtest with NDK 9 for all architectures.

That gives us real regular expressions on all architectures, which lets us
pass more of gtest's own unit tests.

Change-Id: I05f0232ba9cac485018e3764fa7e8910d19bd8f3
ndroid.mk
3fc9a00f8e249a224093997f8059ad6cfc76a3d6 29-Jan-2014 Elliott Hughes <enh@google.com> Clean up a little after the gtest 1.7.0 upgrade.

Change-Id: I320c7159131cb782ede1a3c5cd539b956f77f521
test-port.cc
fc2de66453b0669c09eaca643b07d34443858b6f 29-Jan-2014 Elliott Hughes <enh@google.com> Upgrade to gtest 1.7.0.

This is part of an attempt to get us back in sync with upstream. They
currently have Android support, but it's different from what we've got.

Change-Id: I2749ef426a441c0573fbaa5e0e50fd627df75551
ndroid.mk
test-death-test.cc
test-filepath.cc
test-internal-inl.h
test-port.cc
test-printers.cc
test-test-part.cc
test-typed-test.cc
test.cc
test_main.cc
42028ec214cdb680c4987f7183ed384b5b9d4ce3 21-Jan-2013 Marcus Oakland <marcus.oakland@arm.com> AArch64: Error checking of temporary file handling

Failures in the posix::FOpen call in the String GetCapturedString() method
of the CapturedStream class were ignored: the file variable was passed to
ReadEntireFile(file), causing a segmentation violation without indication
as to cause. In this commit GTEST_CHECK_ is now used to provide an indication
of the reason for failure.

Change-Id: Id419f4fa1f05b5c3ca09a19551747bb5f0ee635f
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
test-port.cc
5ad2a0ee80be8d3d14a5fb3ef838b7ae7efb65f1 24-Oct-2013 Christopher Ferris <cferris@google.com> Modify where gtest captured data is stored.

Stop using $EXTERNAL_STORAGE for the temporary directory, use
$ANDROID_DATA/local/tmp instead.

If $ANDROID_DATA is not set, use /tmp (which happens when running a host
based gtest).

Bug: 11234772

Change-Id: I6c12ea9e6eb281317b48eb672e9a8d294cb1caed
test-port.cc
0f1ce3dd0b880b6ae0cf7f5413702b8ef542efb2 15-Feb-2013 Elliott Hughes <enh@google.com> am 8c212ebe: Merge "Only use if it exists and is writable."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '8c212ebe53bb2baab3575f03069016f1fb11e449':
Only use $EXTERNAL_STORAGE if it exists and is writable.
d10596bd14e5abcdaa7fa5ebdb55a883a80c9406 15-Feb-2013 Elliott Hughes <enh@google.com> Only use $EXTERNAL_STORAGE if it exists and is writable.

Also fail with a clear error if we can't create a temporary file,
rather than blindly carrying on and crashing in fseeko much later.

The emulator has $EXTERNAL_STORAGE set to a directory that's only
usable if you manually supply a valid sdcard image.

Bug: 8013987
Change-Id: I51ffc1a5525273752f67a9356ccd272a4507613a
test-port.cc
dac6030289c87010b31bad60b769399b387ef15c 27-Sep-2012 Ulas Kirazci <ulas@google.com> Build gtest against NDK.

Change-Id: If1c9ee7be65d7357b45feb05a849f9b5ca1b22d8
ndroid.mk
344e5f3db17615cc853073a02968a603efd39109 12-Sep-2012 Stephen Hines <srhines@google.com> Use $EXTERNAL_STORAGE instead of /sdcard.

The multi-user changes affect apps launched from the shell (like gtest), so
we need to grab the appropriate location dynamically, rather than continuing
to hard-code it.

Bug: 7121917

Change-Id: I51a58379eff713e63d34a507dc318a138faccb53
test-port.cc
b1099ee4a2f2aa0feca42ab2ac4a8a9a8fd28727 12-Jul-2012 Joe Onorato <joeo@google.com> Host modules don't need LOCAL_MODULE_TAGS

Change-Id: Iee044e545e999cbeef2c4447a550e42aff7dab61
ndroid.mk
41d0579e8de9ef4ff178fc4991043c61a19943f7 30-Nov-2011 Brett Chabot <brettchabot@android.com> Update gtest to 1.6

Change-Id: I64785f7e1926e230b3f1b8df47c424e6ee423446
test-all.cc
test-death-test.cc
test-filepath.cc
test-internal-inl.h
test-port.cc
test-printers.cc
test-test-part.cc
test-typed-test.cc
test.cc
test_main.cc
d32ab53cd8a82a152ec0b3a5f33f9922928beb21 08-Nov-2011 Ying Wang <wangying@google.com> Remove libraries from static library module.

Static library does not link against libraries.

Change-Id: Ib23b303c7fe26c4f3f380578995830ac51c6bc85
ndroid.mk
2ae00dcfeddad61a0df358a6f91b100f919cdb12 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I92ab9fac18b175fce4a15d48fa272f7ab32ecc27
ndroid.mk
1d24c6454cd05f12c571e62c430bc7b91d532d6a 22-Jun-2011 Jesse Wilson <jessewilson@google.com> Fix gtest to never use ASTL when building on the host.

As far as I can tell that didn't ever work.

Cherry pick of I08c0fe71a0b7dc7ad7b5e120d965fe0029b649d1
http://b/4584343

Change-Id: I083e309a7b42109dce702de4f7492622edd7e9cc
ndroid.mk
40b37187f9b56f93413dd88f27e0b0b712aadaa6 01-Oct-2010 Patrick Scott <phanna@android.com> Fix the simulator build.

Change-Id: Ifd292d38f1a590a0fcdd381f85cefc818d4f1e53
ndroid.mk
cda9ca55683d97e2d215e4a786a865e2b41bc26f 22-Feb-2010 Nicolas Catania <niko@google.com> Build gtest using stlport.

src/Android.mk
Added _host prefix to the module name for host build to prevent
name clashes with the device's targets.

tests/Android.mk
Added _host prefix to the tests built on host.
Use new variables to list the required libraries. This is needed
because the host libs now have a _host suffix so I maintain the 2
lists of libs separatly.
Tests are systematically built.

Tested: On linux, build passion-eng and sim-eng

Needs to be submitted before Id4771c5f
ndroid.mk
97bd226fd5b5ea1600c00b04fd281c71cdbaa0aa 09-Feb-2010 Nicolas Catania <niko@google.com> Fix for the gtest makefiles to build the libs and tests.

For the linux targets, fixed the include directives to include libstdc++ and astl.
For the targets, both libgtest and libgtest_main are built.

Tested on linux: passion-eng and sim-eng.
ndroid.mk
84190c7c1f1b899ad83fdd8e110bde08ad281534 07-Feb-2010 Nicolas Catania <niko@google.com> Bunch of tweaks need to make gtest pass on the device.
Android.mk changes will be sent in a separate CL.

gtest-port.h: need to include the linux like header files.
gtest-port.cc: disabled RTTI tests, we don't support it.
disabled typed tests we are missing the cxxabi.h file.
reenabled death tests, they work fine on android.
gtest-filepath_test.cc: Use the sdcard as the /tmp equivalent on android.
gtest-unittest.cc : ditto

gtest_uniitest.cc: disabled wchar tests.
disabled some float/double formatting tests (not important)
disabled some NEAR assertion tests for float/double (should look into that)

Bug 2398288
test-port.cc
f6071db8c6f4192253a3c544379ad35dcb64dab0 24-Jun-2009 Nicolas Catania <niko@google.com> Adjusted gtest-port.h to work when ANDROID is defined.

Removed from the makefile the explicit OS setting (was linux)
Added a new OS: Android.
When -DANDROID is specified during preprocessing, the right
includes should happen.
ndroid.mk
1be2c9def7187e4e643c00a31dd9986395795d7d 29-May-2009 Nicolas Catania <niko@google.com> First import of gtest 1.3.0.

Currently builds only under linux.
Support for darwin and windows will be added later.

Removed unecessary make files for other systems.
Added Android.mk to build the libraries and test suite on host.

Will enable the target build when the aSTL is available.

Added NOTICE and MODULE_LICENSE files.

Tests are tagged with 'eng' and 'tests'
ndroid.mk
test-all.cc
test-death-test.cc
test-filepath.cc
test-internal-inl.h
test-port.cc
test-test-part.cc
test-typed-test.cc
test.cc
test_main.cc
ee6dc702a03e8768998a8b5321f9c2bd8bed63e5 27-May-2009 Nicolas Catania <niko@google.com> Revert "First import of gtest 1.3.0"

This reverts commit 96839103cf05c81525e57ef00456e0afac90823f.
ndroid.mk
test-all.cc
test-death-test.cc
test-filepath.cc
test-internal-inl.h
test-port.cc
test-test-part.cc
test-typed-test.cc
test.cc
test_main.cc
96839103cf05c81525e57ef00456e0afac90823f 30-Apr-2009 Nicolas Catania <niko@google.com> First import of gtest 1.3.0

Removed unecessary make files for other systems.
Added Android.mk to build the libraries and test suite on host.

Will enable the target build when the aSTL is available.

Added NOTICE and MODULE_LICENSE files.

Tests are tagged with 'eng' and 'tests'
ndroid.mk
test-all.cc
test-death-test.cc
test-filepath.cc
test-internal-inl.h
test-port.cc
test-test-part.cc
test-typed-test.cc
test.cc
test_main.cc