Build winetests

From ReactOS Wiki
Revision as of 13:20, 18 November 2009 by Vicmarcal (talk | contribs)
Jump to: navigation, search

Introduction: Wine..what?

Winetests is a set of API tests to check that our API Opensource implementation behaves in the same way that Microsoft APIs does. What is an API? Here. APIs are predefined functions which Windows provides,so Apps can use them directly.APIs are grouped in .DLL files.


First you have to checkout(download) the Rostest folder from our SVN.

The Rostest folder isnt automatically downloaded when you checkout ReactOS code because it is not a 
branch of ReactOS trunk. So if you have downloaded ReactOS trunk code, you will surely need to checkout Rostest too.

...with RosBE

1)Open RosBE.

2)Check the prompt is pointing to your local trunk ( C:\your\Path\to\...\reactos\)

3)Move to Modules directory writting the next command:

cd modules

4)Now the Prompt will be pointing to C:\your\Path\to\...\reactos\modules. Write now the next line and hit enter:

svn co

5)A folder called rostests has been created inside the modules folder containing (among others) the Winetests folder.

...with a SVN client

1)Checkout in any folder following your SVN client instructions.

2)Copy the new rostests folder to \reactos\modules\


...all the Winetests

1)Launch RosBE

2)Write the next command and hit enter:


3)You will find the Winetests compiled in: \output-i386\modules\rostests\winetests.

...a certain Winetest

1)Launch RosBE

2)If you want to build only a certain winetest (for example kernel32 winetest):

make kernel32_winetest

3)they'll be in \output-i386\modules\rostests\winetests.

Adding to the ISO image.

If you want to include them automatically in the ISO image,

1)Launch RosBE


make bootcd

3)Winetests will be added inside the ISO. Install ReactOS as usually, and you will find the Winetests under \%windir%\bin by default it is C:\ReactOS\bin