MCPcopy Create free account
hub / github.com/apache/singa / ForkingDeathTest

Method ForkingDeathTest

test/gtest/gtest-all.cc:7286–7288  ·  view source on GitHub ↗

Constructs a ForkingDeathTest.

Source from the content-addressed store, hash-verified

7284
7285// Constructs a ForkingDeathTest.
7286ForkingDeathTest::ForkingDeathTest(const char* a_statement, const RE* a_regex)
7287 : DeathTestImpl(a_statement, a_regex),
7288 child_pid_(-1) {}
7289
7290// Waits for the child in a death test to exit, returning its exit
7291// status, or 0 if no child process exists. As a side effect, sets the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected