diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-20 19:09:14 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-20 19:09:14 +0000 |
commit | fdc483704100c683b9f83241785d5ffe6596ff4b (patch) | |
tree | 7704e00a1a86890e7950503fcc7274d05542019e /test | |
parent | 4cb3b867845c758e36e4245fb8797c71442b9f58 (diff) | |
download | libapr-fdc483704100c683b9f83241785d5ffe6596ff4b.tar.gz |
Making the APR tests run on NetWare
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/NWGNUmakefile | 1 | ||||
-rw-r--r-- | test/nw_misc.c | 22 | ||||
-rw-r--r-- | test/nwgnuaprtest | 4 | ||||
-rw-r--r-- | test/testproc.c | 2 |
4 files changed, 28 insertions, 1 deletions
diff --git a/test/NWGNUmakefile b/test/NWGNUmakefile index 32e8b17e7..6ce993066 100644 --- a/test/NWGNUmakefile +++ b/test/NWGNUmakefile @@ -167,6 +167,7 @@ XDCDATA = TARGET_nlm = \ $(OBJDIR)/aprtest.nlm \ $(OBJDIR)/mod_test.nlm \ + $(OBJDIR)/proc_child.nlm \ $(EOLIST) # # If there is an LIB target, put it here diff --git a/test/nw_misc.c b/test/nw_misc.c new file mode 100644 index 000000000..dfb6cfe03 --- /dev/null +++ b/test/nw_misc.c @@ -0,0 +1,22 @@ +#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; +} + diff --git a/test/nwgnuaprtest b/test/nwgnuaprtest index ccf78a7a5..5c63eed75 100644 --- a/test/nwgnuaprtest +++ b/test/nwgnuaprtest @@ -183,7 +183,6 @@ FILES_nlm_objs = \ $(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 @@ FILES_nlm_objs = \ $(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. diff --git a/test/testproc.c b/test/testproc.c index 1c231c009..cdc538e2e 100644 --- a/test/testproc.c +++ b/test/testproc.c @@ -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 |