Difference between revisions of "Build winetests"

From ReactOS Wiki
Jump to: navigation, search
(Removed the old svn instructions and updated the Downloading section.)
(Downloading: internal link)
Line 3: Line 3:
 
== Downloading ==
 
== Downloading ==
  
The rostests folder is now automatically downloaded when you checkout ReactOS code ([https://reactos.org/wiki/ReactOS_Git_For_Dummies#Cloning_the_repository Cloning the repository]), you will find the wine tests in '''\reactos\modules\rostests\winetests'''.
+
The rostests folder is now automatically downloaded when you checkout ReactOS code ([[ReactOS Git For Dummies#Cloning the repository|Cloning the repository]]), you will find the wine tests in '''\reactos\modules\rostests\winetests'''.
  
 
== Building ==
 
== Building ==

Revision as of 10:55, 2 March 2021

Winetests are a set of API tests to check that the ReactOS implementations behave in the same way that Microsoft APIs do. APIs are predefined functions which Windows provides,so applications can use them directly. APIs are grouped in .DLL files.

Downloading

The rostests folder is now automatically downloaded when you checkout ReactOS code (Cloning the repository), you will find the wine tests in \reactos\modules\rostests\winetests.

Building

All available winetests

  1. Start RosBE
  2. at least once after downloading, Enter: configure
  3. Enter: ninja

You will find the winetests compiled in: \output-i386\modules\rostests\winetests

Specific winetests

  1. Start RosBE
  2. at least once after downloading, Enter: configure
  3. Enter a specific winetest to build

As an example, here is how to build the kernel32 winetests:

ninja kernel32_winetest

They will be in \output-i386\modules\rostests\winetests.

Adding to the ISO image

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

  1. Start RosBE
  2. Enter: ninja bootcd

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).