Commit Graph

33 Commits

Author SHA1 Message Date
Alexandre Julliard 0e33105abb cmd/tests: Fix test failures on latest Windows 10.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-11 16:29:14 +01:00
Michael Stefaniuc ea6cc7245c cmd/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 09:28:44 +02:00
Bernhard Übelacker 9a08714c02 include: Implement todo_wine_if for usage in wine tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:09:27 +09:00
Francois Gouget a9513cf446 cmd/tests: Fix handling of synchronization line mismatches.
If the synchronization line does not match assume that we skipped some tests.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 00:21:37 +09:00
Frédéric Delanoy e6042cf6a6 cmd/tests: Simplify boolean expressions (PVS-Studio).
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:51:23 +09:00
Frédéric Delanoy f80dd2469f cmd/tests: Correctly determine script path for root directories. 2014-03-11 19:39:05 +01:00
Michael Stefaniuc 7641cef0bd cmd/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:20 +02:00
Christian Costa 6533168089 cmd/tests: If we rewind to the beginning of the line, don't increment line number. 2012-03-27 13:58:19 +02:00
Francois Gouget 81f64ee906 cmd/tests: Treat lines that start with '---' as resynchronization points. 2011-11-29 13:56:03 +01:00
Frédéric Delanoy f00aafae85 cmd/tests: Don't convert lines with DOS endings in convert_input_data. 2011-09-28 17:29:45 +02:00
Frédéric Delanoy c85be8aecc cmd: Add @shortpath@ keyword, replaced by expanded path with short names. 2011-08-26 13:27:35 +02:00
Frédéric Delanoy 68e7fcda59 cmd: Add @path@ keyword, replaced by regular non-expanded path. 2011-08-26 13:27:14 +02:00
Frédéric Delanoy 64ce7c0ede cmd: Add @drive@ keyword, replaced by drive letter. 2011-08-26 13:27:05 +02:00
Frédéric Delanoy 1e89625b11 cmd: Add @drive@ keyword, replaced by drive letter. 2011-08-26 13:26:31 +02:00
Frédéric Delanoy 453996fe85 cmd/tests: Add @tab@ keyword recognition. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy ff501904a7 cmd: Constify some function parameters. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy bc8fde1c00 cmd/tests: Fix bug where an output line was marked as matching when the expected line only differs by a terminal @space@. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy 8d328ff810 cmd/tests: Refactor "broken" keyword handling so all cases are handled correctly. 2011-08-04 18:27:36 +02:00
Frédéric Delanoy 7158257fd8 cmd/tests: Remove redundant ok check in compare_line function. 2011-08-04 18:27:35 +02:00
Frédéric Delanoy 5661e9cdca cmd/tests: Ensure failures are caught in all cases when an expected line ends with a '@'. 2011-08-04 18:27:35 +02:00
Frédéric Delanoy bde872e782 cmd/tests: Fix "broken" handling when expected line is empty. 2011-08-03 17:46:14 +02:00
Frédéric Delanoy 5fe0f1e1dc cmd/tests: Fix test runner so it catches cases where an output line contains the associated expected line as prefix. 2011-07-28 18:54:47 +02:00
Frédéric Delanoy 1cb7378e94 cmd/tests: Convert line endings to DOS style at runtime before running batch test file. 2011-07-18 16:23:29 +02:00
Frédéric Delanoy 88ff0e816a cmd/tests: Add support for todo_wine constructions. 2011-07-11 12:19:31 +02:00
Alexandre Julliard 766dc67043 cmd/tests: Rewrite replace_escaped_spaces to avoid overflows.
Spotted by Marcus Meissner.
2011-07-06 19:51:51 +02:00
Frédéric Delanoy 5cb45138da cmd/tests: Get rid of obsolete @todo_space@ construct. 2011-06-14 15:21:18 +02:00
Alexandre Goujon 4cd2a0e542 cmd: Add a space at the end of the first echo'ed batch line. 2010-11-08 18:13:36 +01:00
Jason Edmeades 199b2db502 cmd: Make tests supply stderr + more diagnostics. 2010-09-08 14:15:56 +02:00
Alexandre Julliard 5b1f6614ed cmd/tests: Add casts to pointer differences in traces. 2010-04-09 16:49:13 +02:00
Jacek Caban e486a02157 cmd: Added @or_broken@ handling to test templates and use it to fix tests on win2k. 2010-03-18 11:18:18 +01:00
Paul Vriens 2ef6101768 cmd/tests: Compare strings case-insensitive. 2010-02-19 11:30:03 +01:00
Dan Kegel e4fd5196c2 cmd: Rename reference file from .out to .exp to avoid clash with gnu make builtin rule. 2010-02-17 09:48:03 +01:00
Jacek Caban 28a4a7bd42 cmd: Added cmd.exe tests. 2010-02-10 11:31:16 +01:00