Difference between revisions of "Build winetests"

From ReactOS Wiki
Jump to: navigation, search
m (HOWTO/BuildWinetests moved to Build winetests: get rid of HOWTO prefix)
Line 1: Line 1:
To build Winetests simply copy your rostests folder to \reactos\modules\
+
==Introduction: Wine..what?==
Then do:
+
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? [http://en.wikipedia.org/wiki/Windows_API Here].
 +
APIs are predefined functions which Windows provides,so Apps can use them directly.APIs are grouped in .DLL files.
 +
 
 +
==Downloading...==
 +
 
 +
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 http://svn.reactos.org/reactos/trunk/rostests/
 +
5)A folder called rostests has been created inside the modules folder containing (among others) the Winetests folder.
 +
 
 +
 
 +
===...with a SVN client===
 +
 
 +
1)Checkout http://svn.reactos.org/reactos/trunk/rostests/ in any folder following your SVN client instructions.
 +
 
 +
2)Copy the new rostests folder to \reactos\modules\
 +
 
 +
==Building..==
 +
 
 +
===...all the Winetests===
 +
 
 +
1)Launch RosBE
 +
 
 +
2)Write the next command and hit enter:
 +
 
 
  make
 
  make
or, if you want to build only a certain winetest (for example kernel32 winetest):
+
 
 +
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
 
  make kernel32_winetest
they'll be in \output-i386\modules\rostests\winetests.
 
  
Using
+
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
 +
 
 +
2)Write:
 +
 
 
  make bootcd
 
  make bootcd
they'll be added to the iso image, and they'll available inside the ros installed computer under '''\%windir%\bin'''
+
 
 +
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
  
 
[[Category:Tutorial]]
 
[[Category:Tutorial]]

Revision as of 13:20, 18 November 2009

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.

Downloading...

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 http://svn.reactos.org/reactos/trunk/rostests/

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


...with a SVN client

1)Checkout http://svn.reactos.org/reactos/trunk/rostests/ in any folder following your SVN client instructions.

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

Building..

...all the Winetests

1)Launch RosBE

2)Write the next command and hit enter:

make

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

2)Write:

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