Commit Graph

182 Commits

Author SHA1 Message Date
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard c1494edc3e Updated module definitions for Perl unit tests. 2002-04-27 00:19:41 +00:00
Alexandre Julliard 575f5f8cac Added possibility of specifying a name for the .pm file that can be
different from the header name.
2002-04-27 00:18:42 +00:00
Eric Pouech fbaef1cc9a Now C tests are able to access argc/argv as passed to the program. 2002-04-20 20:51:11 +00:00
Paul Millar 81f8264bdd Added option for announcement of successful test results. 2002-04-19 00:01:52 +00:00
Geoffrey Hausheer b1f478fada Added comments explaing how to use cygwin/mingw/wine headers.
Added 'clean' and 'distclean'
Added new options -s and -i.
Archives will now include the entire './include' directory instead of
just './include/wine'.
Renamed makefile from Makefile.cyg to Makefile.win.
The makefile is now mingw compatible as well (although it's be better
if we could detect the correct location of the windows.h headers).
2002-04-08 20:17:51 +00:00
Geoffrey Hausheer 7ec41ed981 Added perl script which will build a Makefile for running C tests on
Windows through Cygwin/gcc.
2002-04-02 19:21:43 +00:00
Alexandre Julliard d7c606d624 Various makefile fixes for the test environment. 2002-04-02 02:58:45 +00:00
François Gouget 21038f2120 Make the testing framework thread safe. 2002-04-02 00:44:17 +00:00
Alexandre Julliard e8f99472fb Use ExitProcess to terminate the application. 2002-03-29 18:05:17 +00:00
Alexandre Julliard b3d60997b2 Need to set WINEDLLPATH too. 2002-03-28 18:21:06 +00:00
Francois Gouget 58ed1f173d Add trace function (same as in the perl framework).
Add support for todo tests.
Make it possible to specify a printf-style message in ok.
Include windef.h in test.h for compiling tests on Windows.
2002-03-22 00:58:00 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard caa03388bc Preliminary version of the C unit tests run-time environment.
Added make rules for building and running C unit tests.
2002-02-20 19:03:59 +00:00
Patrik Stridvall e2e70236a1 - Made runtest "use strict".
- Added new option -M to specify which modules should be tested as
  builtin.
2002-02-02 18:22:08 +00:00
Francois Gouget 419b4da388 config.h should be included first (if at all).
Fix return of convert_value.
2002-02-01 19:09:32 +00:00
Alexandre Julliard 16d7d94f1f Fixed copy/paste bug. 2002-01-29 03:13:00 +00:00
Alexandre Julliard 6ca0ba2a73 Don't convert "ptr" return type to a Perl string.
Call GetProcAddress only when a function is actually called, not at
declaration time.
2002-01-21 17:41:52 +00:00
Patrik Stridvall b6754d8313 Generate Perl modules defining prototypes for exported functions. 2002-01-21 17:36:35 +00:00
Alexandre Julliard 7fd287d575 Added some prototypes to function declarations. 2002-01-15 20:54:41 +00:00
Patrik Stridvall f1d80a3986 - Made the Perl module generated by make_symbols a real exporting
module.
- Use constants instead of variables.
2002-01-15 20:54:06 +00:00
Patrik Stridvall 04c160e507 Added the possibility (it is optional for backward compability) to
specify argument types in order to fix a "bug" concerning
integer/string scalars.
2002-01-15 20:44:32 +00:00
Alexandre Julliard c1742366f8 Integrated test script for winetest into the make test
infrastructure.
Added a few tests for the new wine.pm functions.
2002-01-14 20:00:32 +00:00
Alexandre Julliard 9384184a11 Rewrote runtest in Perl so that it can be used on the Windows side.
Added options for include directories, debug level and target platform.
selection.
2002-01-14 19:56:46 +00:00
Alexandre Julliard ebd225cbaf Added ok() function that doesn't stop the test on the first error.
Added trace() function for debugging tests.
Added support for todo functionality.
Moved wine.pm to include directory.
2002-01-14 19:54:29 +00:00
Alexandre Julliard 500793dc10 Added Perl modules containing the #defines values for the
corresponding Windows headers.
2002-01-14 19:48:07 +00:00
Alexandre Julliard 13b0c0915b Added rules for running tests. 2002-01-10 03:30:21 +00:00
Alexandre Julliard bef8e16fdf Compile all programs with -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT. 2001-11-24 17:07:08 +00:00
Alexandre Julliard 4b0b5d0c4a Got rid of MakeMaker so we can build outside the source tree. 2001-05-09 19:47:39 +00:00
Alexandre Julliard 77c1618d7f Store the function pointer in the %prototypes hash instead of the
function name to avoid looking it up on every call.
Fixed callback thunks to use stdcall calling convention.
2001-04-09 18:49:14 +00:00
John F Sturtz 5dabda3d55 Added support for callback functions. 2001-03-31 00:53:15 +00:00
Alexandre Julliard fc68434791 Added first version of the Perl regression testing framework. 2001-03-21 21:41:27 +00:00