I'm trying to create a tests directory for rpcrt4. So far I've done the following:
o Create a dlls/rpcrt4/tests directory
o Change dlls/rpcrt4/Makefile.in:
<============= --- Makefile.in.A_PL2 2002-10-04 09:26:11.000000000 -0500 +++ Makefile.in 2002-10-06 17:59:31.000000000 -0500 @@ -13,6 +13,8 @@ rpc_binding.c \ rpcrt4_main.c
+SUBDIRS = tests + @MAKE_DLL_RULES@
### Dependencies: ===========>
o add dlls/rpcrt4/tests/Makefile.in:
<=============== TOPSRCDIR = @top_srcdir@ TOPOBJDIR = ../../.. SRCDIR = @srcdir@ VPATH = @srcdir@ TESTDLL = rpcrt4.dll IMPORTS = rpcrt4
CTESTS = \ rpc.c
@MAKE_TEST_RULES@
### Dependencies: ==============>
o add dlls/rpcrt4/tests/rpc.c:
<============ #include "wine/test.h" #include <winbase.h> #include <winnt.h> #include <winerror.h>
START_TEST( rpc ) { trace ( " **** STARTING TEST %d **** \n", 0 ); ok (1);
Exit(); } ============>
but I get no love. configure seems to go OK; When I run make depend it fails:
<============== make[2]: Entering directory `/var/src/wine/dlls/rpcrt4' cd `dirname tests/__depend__` && make depend make[3]: Entering directory `/var/src/wine/dlls/rpcrt4/tests' make[3]: *** No rule to make target `depend'. Stop. make[3]: Leaving directory `/var/src/wine/dlls/rpcrt4/tests' make[2]: *** [tests/__depend__] Error 2 make[2]: Leaving directory `/var/src/wine/dlls/rpcrt4' make[1]: *** [rpcrt4/__depend__] Error 2 make[1]: Leaving directory `/var/src/wine/dlls' make: *** [dlls/__depend__] Error 2 ==============>
What am I missing? Is this documented somewhere? Thanks,