How to add a new test dir?
Greg Turner
gmturner007 at ameritech.net
Sun Oct 6 18:25:32 CDT 2002
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,
--
gmt
"If ye love wealth better than liberty, the tranquility
of servitude better than the animating contest of freedom,
go home from us in peace. We ask not your counsels or your
arms. Crouch down and lick the hands, which feed you. May
your chains set lightly upon you, and may posterity forget
that ye were our countrymen."
-Samuel Adams
More information about the wine-devel
mailing list