Fixes death-test-related tests on Windows, by Vlad Losev.

This commit is contained in:
zhanyong.wan
2009-03-11 18:31:26 +00:00
parent 40e72a8a83
commit 44a041b711
6 changed files with 17 additions and 11 deletions

View File

@@ -616,6 +616,7 @@ class TypedTestCasePState {
fprintf(stderr, "%s Test %s must be defined before "
"REGISTER_TYPED_TEST_CASE_P(%s, ...).\n",
FormatFileLocation(file, line).c_str(), test_name, case_name);
fflush(stderr);
abort();
}
defined_test_names_.insert(test_name);