diff options
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 |