[tools] testbot/reporttest: Add a test for IgnoreExceptions.

Francois Gouget fgouget at codeweavers.com
Fri Feb 12 10:19:36 CST 2021


All exceptions should be ignored when IgnoreExceptions=1.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---

This adds tests for the following patch:
  tests: Add ignore_exceptions().
  https://www.winehq.org/pipermail/wine-devel/2021-February/180823.html

 testbot/src/reporttest/report.template | 19 ++++++++++++++++++-
 testbot/src/reporttest/report.testwtbs |  8 +++++++-
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index da4ce50ce..60fa9befe 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -571,7 +571,24 @@ stub comctl32:treeview
 stub comctl32:updown
 stub comdlg32:filedlg
 stub comdlg32:finddlg
-stub comdlg32:fontdlg
+
+comctl32:fontdlg start dlls/comctl32/tests/fontdlg.c -
+----- Check support for IgnoreExceptions
+----- Expected assessement: 6 failures
+01bd:fontdlg: unhandled exception c0000005 at 00001111
+Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00001111).
+fontdlg.c:10: unhandled exception c0000005 in child process 1111
+fontdlg.c:12: IgnoreExceptions=1
+01bd:fontdlg: unhandled exception c0000005 at 00002222
+Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00002222).
+fontdlg.c:20: unhandled exception c0000005 in child process 2222
+fontdlg.c:22: IgnoreExceptions=0
+01bd:fontdlg: unhandled exception c0000005 at 00003333
+Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00003333).
+fontdlg.c:30: unhandled exception c0000005 in child process 3333
+01bd:fontdlg: 10 tests executed (0 marked as todo, 6 failures), 0 skipped.
+comctl32:fontdlg:01bd done (6) in 0s
+
 stub comdlg32:itemdlg
 stub comdlg32:printdlg
 stub credui:credui
diff --git a/testbot/src/reporttest/report.testwtbs b/testbot/src/reporttest/report.testwtbs
index 64057bcb5..208c014ef 100644
--- a/testbot/src/reporttest/report.testwtbs
+++ b/testbot/src/reporttest/report.testwtbs
@@ -13,7 +13,7 @@ with:
 
 
 ----- TestWTBS -----
-p tests.TestFailures 45
+p tests.TestFailures 51
 
 p build.HasTask 0
 a wine.log.GrepV ^Applying patch
@@ -50,6 +50,12 @@ n 0 1234:taskdialog: unhandled exception c0000005 at 0040167C
 n 0 taskdialog:471: unhandled exception c0000005 in child process 1234
 n 0 driver.c:40: Test failed: Something wrong
 n 0 driver.c:41: Test succeeded inside todo block: Something right!
+n 0 01bd:fontdlg: unhandled exception c0000005 at 00001111
+n 0 Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00001111).
+n 0 fontdlg.c:10: unhandled exception c0000005 in child process 1111
+n 0 01bd:fontdlg: unhandled exception c0000005 at 00003333
+n 0 Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00003333).
+n 0 fontdlg.c:30: unhandled exception c0000005 in child process 3333
 
 g 0 tests.report.xmllite
 n 0 writer.c:20: Test failed: A delayed failure, typically in a subprocess
-- 
2.20.1




More information about the wine-devel mailing list