Commit Graph

237 Commits

Author SHA1 Message Date
Ferenc Wagner f8dba77dc8 Suppress some more error message boxes.
Truncate report file if too big.
2004-07-06 21:03:22 +00:00
Ferenc Wagner ca7cdb8bed Include new or forgotten tests. 2004-06-17 23:01:14 +00:00
Alexandre Julliard 554606d241 Added missing dependency. 2004-06-16 19:04:11 +00:00
Ferenc Wagner 24624f6b5d - Resource script restructuring.
- Build info et al. is given by files instead of env. vars.
- Store that information in resources.
- Make the main windows not resizeable.
- Insist on creating a fresh log file.
- Introduce the make dist target.
2004-06-15 22:45:15 +00:00
Ferenc Wagner 70cd740454 The msacm directory is special. 2004-05-05 19:00:34 +00:00
Robert Reif 127b25df49 Added msacm32 to the tests. 2004-05-05 01:01:31 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Ferenc Wagner 438369af9a Remove the wineloader variable. 2004-04-23 23:30:11 +00:00
Ferenc Wagner 21b8503c15 Unconditionally test Wine presence.
Add the Build info section to the output.
2004-04-23 02:52:21 +00:00
Alexandre Julliard 9db147e5e4 Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of
STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component
didn't exist to allow distinguishing it from legitimate errors.
Export it from ntdll, renamed to wine_nt_to_unix_file_name.
2004-04-23 02:46:18 +00:00
Jakob Eriksson 82c191f65a Added Wine detection. 2004-04-23 00:06:57 +00:00
Ferenc Wagner 1fb75dcac5 - constify some strings
- introduce -u option to write archive url into the report
- bump output format version to 3
2004-04-22 23:43:54 +00:00
Jakob Eriksson 5c95e41d89 Fixed typo. 2004-04-20 20:15:43 +00:00
Ferenc Wagner 90baafee4e - Change to console mode so that winetest runs under WinRash.
- Move from spawnvp() to CreateProcess().
- Force a 2-minute timeout on individual tests.
2004-04-20 04:00:07 +00:00
Gerald Pfeifer ae07d8e834 Do not include <windows.h>, to avoid duplicate declaration of
select().
2004-04-13 00:19:38 +00:00
Ferenc Wagner 409f7a3b58 Give SetErrorMode the right argument to suppress crash dialogs. 2004-03-31 00:55:41 +00:00
Ferenc Wagner 27db309518 Don't expect stdout be usable after exchanging file descriptors under
it.
2004-03-30 04:32:46 +00:00
Ferenc Wagner a122499a98 - Extract revision info from CVS/Entries.
- #include "winetest.rc" into gui.rc.  MinGW can't link in
  more than one resource files.
- Enlarge chunk size of network transfer.
2004-03-24 23:40:06 +00:00
Dimitrie O. Paun cbe0e499df Add revision support to winetest.exe. 2004-03-20 19:21:39 +00:00
Ferenc Wagner ca0f5793da - Refactor and fix connection opening.
- Target test.winehq.org.
2004-03-19 19:15:23 +00:00
Ferenc Wagner 8387770064 - Fix report() dispatch.
- Strip "_test..." from test file names.
- Use mystrtok() for command line parsing to avoid collision with the
  one in get_subtests().
- Change User-Agent HTTP header to "Winetest Shell".
2004-03-19 01:54:10 +00:00
Alexandre Julliard 6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard 6621b2d213 Build all the programs with winegcc. 2004-03-02 21:00:00 +00:00
Ivan Leo Murray-Smith 9a8d951232 Make sure text isn't cut off by the close button. 2004-03-02 20:56:35 +00:00
Juan Lang d89279a974 Connect to winehq.org by its name rather than by its IP addr. 2004-03-01 23:28:02 +00:00
Dimitrie O. Paun e59561c8fe Submit results to WineHQ. 2004-03-01 23:11:08 +00:00
Ferenc Wagner feaad968b8 Report the error sent by the CGI script.
Make progress bar selection explicit.
2004-02-21 04:01:56 +00:00
Ferenc Wagner 8c4a4dffd6 Add a free() call at the end. 2004-02-20 19:56:29 +00:00
Gerald Pfeifer 3061e97b47 Fix non-standard code in report(). 2004-02-20 01:09:31 +00:00
Ferenc Wagner efc67253fd - command line handling (GUI will follow)
- strip .exe[.so] from test names
- version 2 output
2004-02-19 04:12:42 +00:00
Ferenc Wagner 354f662962 Added graphical feedback. 2004-01-15 01:48:05 +00:00
Alexandre Julliard 6235a28adc Avoid non-portable strip -s (reported by Robert Lunnon). 2004-01-15 00:22:10 +00:00
Ferenc Wagner 9644428385 Solaris sh portability fix. 2003-12-30 19:09:25 +00:00
Alexandre Julliard 9f71bd9824 Authors: Jakob Eriksson <jakov@vmlinux.org>, Dimitrie O. Paun <dpaun@rogers.com>, Ferenc Wagner <wferi@afavant.elte.hu>
New Wine test shell utility.
2003-12-04 02:01:39 +00:00
Alexandre Julliard 44519bde8c Removed winetest. 2002-11-11 21:14:25 +00:00
Alexandre Julliard 0cf753385b Moved the test routines from wtmain.c into wine/test.h so that they
can be compiled separately with different flags for each dll.
2002-10-30 20:36:21 +00:00
Alexandre Julliard c3c587eb1d Added preliminary support for cross-compiling tests using mingw on
Linux if available.
2002-09-06 19:46:00 +00:00
Patrik Stridvall f98ed45240 Updated winetest's Perl modules using winapi_extract. 2002-08-28 23:33:21 +00:00
Alexandre Julliard edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Alexandre Julliard 4b92255cec Don't pass the perl C flags to winebuild. 2002-08-02 19:12:01 +00:00
Mike Castle a662fabaaa Compile fix for multi-threaded perl. 2002-08-02 19:11:09 +00:00
Alexandre Julliard c754a89b94 Use the normal perl interpreter for test scripts that don't need to
call Windows APIs.
Don't build winetest.exe by default.
2002-07-31 23:23:32 +00:00
Alexandre Julliard 2a0904f68f Split routines that don't rely on C functions into winetest.pm so that
they can be used from a normal Perl script.
2002-07-31 23:18:31 +00:00
Patrik Stridvall 5a4a11b874 Updated winetest Perl modules using winapi_extract. 2002-07-20 20:06:58 +00:00
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Alexandre Julliard 3536316a31 New loading scheme for Winelib apps, makes them behave like builtin
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard a0994a7d42 Better usage message. Flush stderr before exiting. 2002-05-16 20:32:50 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard fc01b729f6 Added some support for cross-compilation using mingw32. 2002-05-12 03:16:39 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
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