Hola, It seems there is a dependancy bug or something in the makefile for the regression test. I can build all of the regression tests fine under mingw but I have to build one at a time because the tests Makefiles are still trying to build the dll even if I just want to build the tests only. See below for examples.
when I try to run $ make test in the root of my wine source tree the tests will start to build and then it will bomb after advapi32_test.exe with the following error. <truncated - snip> gcc -c -I. -I. -I../../../include -I../../../include -D__MINGW__ -D_WINDOWS -DW INE_NOWINSOCK -Wall -mpreferred-stack-boundary=2 -DNONAMELESSUNION -DNONAMELESS STRUCT -D_REENTRANT -o testlist.o testlist.c gcc registry.o testlist.o -o advapi32_test.exe -ladvapi32 -lkernel32 -lntdll - L../../../library -lwine -lm make[3]: *** No rule to make target `../../../dlls/advapi32.dll', needed by `reg istry.ok'. Stop. make[3]: Leaving directory `/g/src/wine-dev/wine/dlls/advapi32/tests' make[2]: *** [tests/__test__] Error 2 make[2]: Leaving directory `/g/src/wine-dev/wine/dlls/advapi32' make[1]: *** [advapi32/__test__] Error 2 make[1]: Leaving directory `/g/src/wine-dev/wine/dlls' make: *** [dlls/__test__] Error 2
or if I traverse the tree to wine/dlls/kernel/tests and run $ make test <truncated - snip> gcc alloc.o atom.o codepage.o directory.o drive.o environ.o file.o format_msg.o generated.o locale.o path.o process.o thread.o testlist.o -o kernel32_test.exe -lkernel32 -L../../../library -lwine -lm make: *** No rule to make target `../../../dlls/kernel32.dll', needed by `alloc. ok'. Stop.
OK I admit I havent read all of the docs for the regression test suite and mabey this is supposed to happen. but it just seems to make I should be able to type $ ./configure --foo and bar $ make depend $ make test
and go on my merry way.
Thanks Steven
Steven Edwards Steven_Ed4153@yahoo.com writes:
It seems there is a dependancy bug or something in the makefile for the regression test. I can build all of the regression tests fine under mingw but I have to build one at a time because the tests Makefiles are still trying to build the dll even if I just want to build the tests only. See below for examples.
That's a feature, it ensures that the tests get run again if the dll being tested has changed. If you can't build these dlls under mingw, you can simply create empty files instead.