Christopher Ferris
119cb55d43
gtest_repeat should allow negative values.
...
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
2015-04-02 12:16:00 -07:00
Yabin Cui
64a9c4f697
Make gtest_main exit 1 when some test are failed.
...
This is the gtest behavior, which I think can make test status
judgement more convenient.
Change-Id: I7d3c210d1744b954a4148cd905dd5c353207fce8
2015-03-12 23:36:29 -07:00
Yabin Cui
f6237470a3
Make bionic gtest main be compatible with gtest output format for cts test.
...
Bug: 17589740
Change-Id: Ifab521da379a33bf0a7bf11c21386f936f0d494c
2015-02-26 19:03:54 -08:00
Yabin Cui
ea9c933f36
Make all output of child test go to parent process in gtest_main.
...
Change-Id: Iad460e89755051cdb99593cbf42c97d9a359f32b
2015-02-24 14:44:51 -08:00
Yabin Cui
ead08148bd
Add path separator in bionic-unit-tests program path.
...
Bug: 19220800
Change-Id: I4245b1270363544cd5f083fe7ea7d9b11b46cdc0
2015-02-05 10:39:37 -08:00
Yabin Cui
1d4c780a2e
Add signal handling in bionic gtest main.
...
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
2015-02-04 19:06:07 -08:00
Yabin Cui
11c4353cdd
Add --gtest-filter as synonym for --gtest_filter in bionic gtest main.
...
Bug: 19130480
Change-Id: I0d3df70ee8f692581cc4b9b742c5f347259fd0d2
2015-01-28 14:28:14 -08:00
Yabin Cui
0bc4e9697e
Fix parse of gtest_filter in bionic gtest main.
...
Bug: 19130330
Change-Id: Id6a60570a8aab6ae7259ff228b3801285b378f77
2015-01-27 11:22:46 -08:00
Yabin Cui
4a82ede754
Rename "TIMEWARN" to "SLOW" in bionic gtest.
...
Bug: 19109188.
Change-Id: Idfe769ac652bf37642da24e4abb6061ca861d57e
2015-01-26 20:56:20 -08:00
Yabin Cui
657b1f9bef
Support --gtest_ouput option in bionic gtest main.
...
Bug: 19109500
Change-Id: Ib18f90ad522e66ea62dd4e02e314585d9b36e15f
2015-01-26 16:53:05 -08:00
Yabin Cui
516eb53113
Remove testcase time printing in bionic-unit-tests.
...
Bug: 19075565
Change-Id: Icccb60657a2985e96abb1703673f0ebe2199586a
2015-01-20 14:46:03 -08:00
Yabin Cui
be837360c3
Make bionic-unit-tests default run isolate mode.
...
Fix bug of handling signal terminated tests.
Bug: 17589740
Bug: 18951146
Change-Id: I4803382b26cd5454693090202b3ba38e3dbe66e5
2015-01-08 20:34:58 -08:00
Yabin Cui
294d1e2c9e
better gtest runner for bionic
...
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
2014-12-13 18:53:34 -08:00