Bug 992983 - Add test summary lines to gtest's automation-specific output format. r=benwa

--HG--
extra : commitid : IQWWm28UPvz
This commit is contained in:
Chris Manchester 2015-08-18 11:32:31 -07:00
parent afe5dc4365
commit ad002b0bc0

View File

@ -34,6 +34,8 @@ public:
printf("TEST-%s | GTest unit test: %s\n",
aUnitTest.Passed() ? "PASS" : "UNEXPECTED-FAIL",
aUnitTest.Passed() ? "passed" : "failed");
printf("Passed: %d\n", aUnitTest.successful_test_count());
printf("Failed: %d\n", aUnitTest.failed_test_count());
}
virtual void OnTestStart(const TestInfo& aTestInfo) override {
mTestInfo = &aTestInfo;