[ Version ( since = "0.8.0" ) ]
public void set_fork_status (ForkStatus fstat)
Set the fork status for a given suite runner.
The default fork status is CK_FORK_GETENV, which will look for the CK_FORK environment variable, which can be set to "yes" or "no". If the environment variable is not present, CK_FORK will be used if fork() is available on the system, otherwise CK_NOFORK is used.
If set to CK_FORK or CK_NOFORK, the environment variable if defined is ignored.
If Check is compiled without support for fork(), attempting to set the status to CK_FORK is ignored.
fstat |
fork status to assign |
0.8.0