aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gtest_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Force cts to only run one test at a time.Christopher Ferris2015-09-251-3/+7
| | | | | | | | | | Also, slightly increase the timeout for each test run. Bug: 24198050 (cherry picked from commit daaaed18ce1d2f2da9d2240e974922299d937670) Change-Id: I29e169e962da803a89abf0a28e071abcafa315b7
* gtest_repeat should allow negative values.Christopher Ferris2015-04-021-11/+10
| | | | | | | If you pass in a negative value to gtest_repeat, it should run forever. The new runner didn't allow this, now it does. Change-Id: Ie0002c12e2fdad22b264adca37c165cfcfe05c7a
* Make gtest_main exit 1 when some test are failed.Yabin Cui2015-03-121-4/+12
| | | | | | | This is the gtest behavior, which I think can make test status judgement more convenient. Change-Id: I7d3c210d1744b954a4148cd905dd5c353207fce8
* Make bionic gtest main be compatible with gtest output format for cts test.Yabin Cui2015-02-261-3/+30
| | | | | Bug: 17589740 Change-Id: Ifab521da379a33bf0a7bf11c21386f936f0d494c
* Make all output of child test go to parent process in gtest_main.Yabin Cui2015-02-241-34/+17
| | | | Change-Id: Iad460e89755051cdb99593cbf42c97d9a359f32b
* Add path separator in bionic-unit-tests program path.Yabin Cui2015-02-051-0/+21
| | | | | Bug: 19220800 Change-Id: I4245b1270363544cd5f083fe7ea7d9b11b46cdc0
* Add signal handling in bionic gtest main.Yabin Cui2015-02-041-136/+235
| | | | | | | | | The two bugs are very closely related and code amount is very small, So I think they may be fixed in one change. Bug: 19128558 Bug: 19129994 Change-Id: I44a35398e64dfca7e9676428cb8f4026e8f6e488
* Add --gtest-filter as synonym for --gtest_filter in bionic gtest main.Yabin Cui2015-01-281-0/+13
| | | | | Bug: 19130480 Change-Id: I0d3df70ee8f692581cc4b9b742c5f347259fd0d2
* Fix parse of gtest_filter in bionic gtest main.Yabin Cui2015-01-271-1/+6
| | | | | Bug: 19130330 Change-Id: Id6a60570a8aab6ae7259ff228b3801285b378f77
* Rename "TIMEWARN" to "SLOW" in bionic gtest.Yabin Cui2015-01-261-17/+17
| | | | | Bug: 19109188. Change-Id: Idfe769ac652bf37642da24e4abb6061ca861d57e
* Support --gtest_ouput option in bionic gtest main.Yabin Cui2015-01-261-210/+402
| | | | | Bug: 19109500 Change-Id: Ib18f90ad522e66ea62dd4e02e314585d9b36e15f
* Remove testcase time printing in bionic-unit-tests.Yabin Cui2015-01-201-16/+0
| | | | | Bug: 19075565 Change-Id: Icccb60657a2985e96abb1703673f0ebe2199586a
* Make bionic-unit-tests default run isolate mode.Yabin Cui2015-01-081-204/+222
| | | | | | | | Fix bug of handling signal terminated tests. Bug: 17589740 Bug: 18951146 Change-Id: I4803382b26cd5454693090202b3ba38e3dbe66e5
* better gtest runner for bionicYabin Cui2014-12-131-0/+774
1. option to run each test in a separate forked process: "--isolate". 2. warnings about slow tests: "--warnline". 3. run multiple tests at the same time: "-j N". Bug: 17589740 Change-Id: Ife5f4cafec43aa051ad7bd9c9b2b7e2e437db0de