bnicholes 2002/12/19 08:17:50
Modified: test testoc.c
Log:
If the platform does not have other child functionality then don't enable any
of the other child tests. Otherwise the tests don't compile.
Revision Changes Path
1.29 +1 -2 apr/test/testoc.c
Index: testoc.c
===================================================================
RCS file: /home/cvs/apr/test/testoc.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- testoc.c 24 Nov 2002 04:51:37 -0000 1.28
+++ testoc.c 19 Dec 2002 16:17:50 -0000 1.29
@@ -84,7 +84,6 @@
break;
}
}
-#endif
#ifndef SIGKILL
#define SIGKILL 1
@@ -132,8 +131,8 @@
apr_proc_other_child_check();
CuAssertStrEquals(tc, "APR_OC_REASON_DEATH", reasonstr);
}
+#else
-#if !APR_HAS_OTHER_CHILD
static void oc_not_impl(CuTest *tc)
{
CuNotImpl(tc, "Other child logic not implemented on this platform");