bnicholes 2002/12/20 11:09:15
Modified: test testproc.c NWGNUmakefile nwgnuaprtest
Added: test nw_misc.c
Log:
Making the APR tests run on NetWare
Revision Changes Path
1.40 +2 -0 apr/test/testproc.c
Index: testproc.c
===================================================================
RCS file: /home/cvs/apr/test/testproc.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- testproc.c 15 Dec 2002 19:12:10 -0000 1.39
+++ testproc.c 20 Dec 2002 19:09:14 -0000 1.40
@@ -62,6 +62,8 @@
/* XXX I'm sure there has to be a better way to do this ... */
#ifdef WIN32
#define EXTENSION ".exe"
+#elif NETWARE
+#define EXTENSION ".nlm"
#else
#define EXTENSION
#endif
1.2 +1 -0 apr/test/NWGNUmakefile
Index: NWGNUmakefile
===================================================================
RCS file: /home/cvs/apr/test/NWGNUmakefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NWGNUmakefile 19 Dec 2002 16:14:18 -0000 1.1
+++ NWGNUmakefile 20 Dec 2002 19:09:14 -0000 1.2
@@ -167,6 +167,7 @@
TARGET_nlm = \
$(OBJDIR)/aprtest.nlm \
$(OBJDIR)/mod_test.nlm \
+ $(OBJDIR)/proc_child.nlm \
$(EOLIST)
#
# If there is an LIB target, put it here
1.2 +3 -1 apr/test/nwgnuaprtest
Index: nwgnuaprtest
===================================================================
RCS file: /home/cvs/apr/test/nwgnuaprtest,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nwgnuaprtest 19 Dec 2002 16:14:18 -0000 1.1
+++ nwgnuaprtest 20 Dec 2002 19:09:14 -0000 1.2
@@ -183,7 +183,6 @@
$(OBJDIR)/testmmap.o \
$(OBJDIR)/testnames.o \
$(OBJDIR)/testoc.o \
- $(OBJDIR)/testpipe.o \
$(OBJDIR)/testpoll.o \
$(OBJDIR)/testpools.o \
$(OBJDIR)/testproc.o \
@@ -198,8 +197,11 @@
$(OBJDIR)/testud.o \
$(OBJDIR)/testuser.o \
$(OBJDIR)/testvsn.o \
+ $(OBJDIR)/nw_misc.o \
$(EOLIST)
+# Pending tests
+# $(OBJDIR)/testpipe.o \
#
# These are the LIB files needed to create the NLM target above.
1.1 apr/test/nw_misc.c
Index: nw_misc.c
===================================================================
#include <netware.h>
#include <screen.h>
#include "test_apr.h"
void _NonAppStop( void )
{
pressanykey();
}
static void test_not_impl(CuTest *tc)
{
CuNotImpl(tc, "Test not implemented on this platform yet");
}
CuSuite *testpipe(void)
{
CuSuite *suite = CuSuiteNew("Pipes");
SUITE_ADD_TEST(suite, test_not_impl);
return suite;
}