Hongbo wrote:
I really need to compile and run existing tests on window before I can write any test case for wine.
The easiest way is to cross-compile them on wine and then run them on windows.
To do this, say make crosstest
See http://www.winehq.org/site/docs/winedev-guide/cross-compiling-tests - Dan