[PATCH 1/4] widl: Add a framework for automated testing of IDL files that should succeed or fail to be parsed.

Robert Shearman rob at codeweavers.com
Wed May 14 11:45:18 CDT 2008

The expected result is contained within the IDL file being tested, in 
the format of "/* @@ widltest: todo_fail|failure message */".
  tools/widl/Makefile.in                            |    2 +
  tools/widl/tests/Makefile.in                      |   28 +++++++++++
  tools/widl/tests/expr_invalid_array_subscript.idl |   10 ++++
  tools/widl/tests/widltest.sh                      |   52 
  4 files changed, 92 insertions(+), 0 deletions(-)
  create mode 100644 tools/widl/tests/Makefile.in
  create mode 100644 tools/widl/tests/expr_invalid_array_subscript.idl
  create mode 100755 tools/widl/tests/widltest.sh

This version of the patch adds supports for todo_fail tests which are 
tests which should fail, but currently succeed. It also doesn't add any 
tests which succeed as these should be compile tested elsewhere in the tree.

This patch doesn't allow widl to be tested from the top-level directory 
- that can be done in a later patch. I am confident that this patch is 
safe to apply in the code freeze.

tools/make_makefiles needs to be run after this patch is applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a0362c3bd26f11c8505b98d11514a2c3c49c0235.diff
Type: text/x-patch
Size: 3015 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080514/1dbe501f/attachment.bin 

More information about the wine-patches mailing list