Alexandre Julliard
ec34a66612
Ignore symlink files too (needed for git).
2005-11-26 13:12:57 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Stefan Leichter
8ba040e157
Add shdocvw tests to winetest.
2005-11-12 19:11:27 +00:00
Stefan Huehner
3e29148bcf
Add msxml3,setupapi tests to winetest.
2005-10-31 21:10:47 +00:00
Jonathan Ernst
f9c1537b89
Make sure we only depend on ddraw_test if X support is enabled.
2005-10-04 11:29:37 +00:00
Paul Millar
83ecd5d964
Fix cross-compilation of winetest by update the makefile to use OBJS
...
instead of the now absent ALL_OBJS.
2005-10-03 18:45:45 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Ivan Leo Puoti
dc2e1399ef
Get winetest to detect windows server 2003 R2.
2005-09-15 18:56:20 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Mike McCormack
93ab695a5c
Fix gcc 4.0 warnings.
2005-08-26 08:53:31 +00:00
Kai Blin
78e1145ffe
Add secur32.dll tests to winetest.
2005-08-08 11:06:55 +00:00
Hans Leidekker
b5c65a2e48
Include the mshtml test.
2005-07-18 09:09:09 +00:00
Jacek Caban
6737d96983
Added mshtml test.
2005-06-29 11:00:09 +00:00
Mike McCormack
65ad7da1f7
Fix some declaration and write string warnings.
2005-06-16 10:45:25 +00:00
Mike McCormack
d73dad6630
Fixes for -Wmissing-declarations and -Wwrite-strings warnings.
2005-06-04 10:01:25 +00:00
Mike McCormack
ae51135ed9
Fixes for -Wmissing-declarations and -Wwrite-strings warnings.
2005-06-02 15:11:32 +00:00
Stefan Leichter
332215f19a
Include crypt32 tests into winetest.
2005-05-29 19:59:50 +00:00
Alexandre Julliard
95b87814e8
Added --list option to the tests and use that in winetest.
2005-05-27 20:10:59 +00:00
Robert Reif
8bffed50c6
Added dinput tests.
2005-05-11 12:05:17 +00:00
Ferenc Wagner
ff67da4321
Enforce valid tag syntax during input.
2005-04-18 09:54:24 +00:00
Ferenc Wagner
bda2fe5eb6
Use the same maximum length for tags given on the command line and
...
tags entered in the GUI.
2005-04-11 16:10:01 +00:00
Ferenc Wagner
f042209c3b
Silence some signedness warnings.
2005-04-11 12:46:28 +00:00
Ferenc Wagner
30dcc6b4b7
Ask for a tag if one was not given on the command line.
2005-03-31 15:22:41 +00:00
Ferenc Wagner
96812eb280
Try using a stable temporary directory at first to silence ZoneAlarm
...
warnings.
2005-03-29 19:51:49 +00:00
Ferenc Wagner
a703343f60
Check desktop visibility after processing command line arguments.
2005-03-25 17:11:52 +00:00
Alexandre Julliard
b30d92dfb2
Fixed other instances of the xrealloc(0) bug.
2005-03-18 14:09:55 +00:00
Dmitry Timoshkov
097df18039
Special case Win9x platforms in the desktop visibility test, in Win98
...
GetUserObjectInformation is a stub returning ERROR_CALL_NOT_IMPLEMENTED.
2005-03-14 10:06:22 +00:00
Dmitry Timoshkov
454c1b7599
Implement a test for the desktop visibility based on the MSDN article
...
pointed out by Robert Shearman.
2005-03-10 17:17:35 +00:00
Dmitry Timoshkov
b486324059
Make running tests on a visible desktop a mandatory requirement.
2005-03-08 18:58:58 +00:00
Dmitry Timoshkov
b5c358bba7
Another attempt of a test for a visible desktop.
2005-03-07 10:58:37 +00:00
Dmitry Timoshkov
391d85d81d
Use IsWindowVisible instead of GetWindowLong(GWL_STYLE) & WS_VISIBLE
...
as a test for desktop visibility.
2005-03-03 13:49:47 +00:00
Stefan Leichter
97b85cc88c
Include new tests.
2005-01-21 10:15:04 +00:00
Stefan Leichter
049e75a31d
Include new tests.
2005-01-17 13:39:00 +00:00
Ferenc Wagner
a790b2d1c5
Return a true boolean value (0 or 1).
2005-01-05 17:13:51 +00:00
Jakob Eriksson
580bce7a31
Add a check if we are running on a visible desktop. Credits to Dmitry
...
Timoshkov for the easy test.
2004-12-22 14:50:50 +00:00
Ferenc Wagner
ffc30c808e
Quote everything for consistency.
...
RFC 2068 got superseded by RFC 2616.
2004-10-05 02:10:37 +00:00
Ferenc Wagner
fbf77db884
Do not offer submitting the report if the -o option was given.
2004-10-04 19:32:20 +00:00
Ferenc Wagner
5853c9ede5
- Use a more unique separator string.
...
- Add some quoting to please CGI.pm-3.05.
2004-10-04 19:28:59 +00:00
Ferenc Wagner
cb10a70a12
As test runs are not invoked from the option parsing loop anymore, we
...
can switch back to libc's strtok() implementation.
2004-09-07 19:33:52 +00:00
Ferenc Wagner
ae1238b4b0
Avoid crashing on unsuccessful send.
2004-08-18 20:56:00 +00:00
Alexandre Julliard
06233cfb47
Avoid some non-portable makefile constructs.
2004-08-11 20:59:09 +00:00
Dmitry Timoshkov
8c2ff3ca6d
- add stubbed support for IEnumScript interface
...
- ConvertINetMultiByteToUnicode/ConvertINetUnicodeToMultiByte should
return required target length if the target buffer is NULL
- add the tests for all the above
- fix IMultiLanguage2 vtable (it was missing ConvertStringFromUnicodeEx)
2004-08-11 18:53:02 +00:00
Ferenc Wagner
2d0d484786
- Remove the -u option, the URL is in a resource now.
...
- Reset the WINETEST_* environmental variables to their defaults
before forking the tests.
- Add the -e option to optionally preserve the environment.
2004-07-22 23:42:03 +00:00
Ferenc Wagner
11a61a8e2c
Include the dsound tests.
2004-07-22 19:43:42 +00:00
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