diff options
Diffstat (limited to 'tests/gtest_main.cpp')
-rw-r--r-- | tests/gtest_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtest_main.cpp b/tests/gtest_main.cpp index 3f59a9c04..33dbfd933 100644 --- a/tests/gtest_main.cpp +++ b/tests/gtest_main.cpp @@ -324,7 +324,7 @@ static bool EnumerateTests(int argc, char** argv, std::vector<TestCase>& testcas } int status; - if (waitpid(pid, &status, 0) != pid) { + if (TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)) != pid) { perror("waitpid"); return false; } |