the default behavior is to now set the fork mode as CK_NOFORK
if fork is unavailable. The code being removed is redundant.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@777
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
sr = srunner_create (make_master_suite());
srunner_add_suite(sr, make_log_suite());
srunner_add_suite(sr, make_fork_suite());
-
-#if !defined(HAVE_FORK)
- /*
- * Overriding the default of running tests in fork mode,
- * as this system does not have fork()
- */
- srunner_set_fork_status(sr,CK_NOFORK);
-#endif /* !HAVE_FORK */
printf ("Ran %d tests in subordinate suite\n", sub_ntests);
srunner_run_all (sr, CK_VERBOSE);
srunner_add_suite(sr, make_sub2_suite());
-#if !defined(HAVE_FORK)
- /*
- * Overriding the default of running tests in fork mode,
- * as this system does not have fork()
- */
- srunner_set_fork_status(sr,CK_NOFORK);
-#endif /* !HAVE_FORK */
-
srunner_run_all(sr, CK_VERBOSE);
tr_fail_array = srunner_failures(sr);
tr_all_array = srunner_results(sr);