Francois Gouget : testbot/reporttest: Add a test for WINETEST_TIME.
Alexandre Julliard
julliard at winehq.org
Fri Mar 12 14:28:32 CST 2021
Module: tools
Branch: master
Commit: a9e09357310ea7ae356db7bc601c4d97efced75b
URL: https://source.winehq.org/git/tools.git/?a=commit;h=a9e09357310ea7ae356db7bc601c4d97efced75b
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Mar 11 14:02:25 2021 +0100
testbot/reporttest: Add a test for WINETEST_TIME.
Add a test with lines that contain timing information and make sure they
are detected as expected.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/src/reporttest/report.template | 12 +++++++++++-
testbot/src/reporttest/report.testwtbs | 4 +++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index ef3dc7d..afdc317 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -621,7 +621,17 @@ shadow.c:222: Subtest black
01a8:filedlg: 10 tests executed (0 marked as todo, 0 failures), 0 skipped.
comdlg32:filedlg:01a8 done (0) in 0s
-stub comdlg32:finddlg
+comdlg32:finddlg start dlls/comdlg32/tests/finddlg.c -
+----- WTBS Trace, ok, todo, skips with timing information
+----- Tests messages starting generated when WINETEST_TIME=1.
+----- Expected assessement: 2 failures, 1 todo, 1 skip
+finddlg.c:222:0.141 WTBS Testing messages that contain timing information
+finddlg.c:224:0.142 Test failed: WTBS A test failure
+finddlg.c:227:0.143 Test marked todo: WTBS A todo test failing as expected
+finddlg.c:228:0.144 Test succeeded inside todo block: WTBS A todo test unexpectedly succeeding
+finddlg.c:229:0.145 Tests skipped: WTBS A plain skip
+01a8:finddlg:0.146 10 tests executed (1 marked as todo, 2 failures), 1 skipped.
+comdlg32:finddlg:01a8 done (2) in 0s
comdlg32:fontdlg start dlls/comdlg32/tests/fontdlg.c -
----- Check support for IgnoreExceptions
diff --git a/testbot/src/reporttest/report.testwtbs b/testbot/src/reporttest/report.testwtbs
index eefbbc0..09264ca 100644
--- a/testbot/src/reporttest/report.testwtbs
+++ b/testbot/src/reporttest/report.testwtbs
@@ -13,7 +13,7 @@ with:
----- TestWTBS -----
-p tests.TestFailures 64
+p tests.TestFailures 66
p build.HasTask 0
a wine.log.GrepV ^Applying patch
@@ -63,6 +63,8 @@ n 0 treeview.c:40: Test failed: Unreported failure
n 0 vorlon.c:40: Test failed: Unreported failure
g 0 tests.report.comdlg32
+n 0 finddlg.c:224:4.321 Test failed: WTBS A test failure
+n 0 finddlg.c:228:1.234 Test succeeded inside todo block: WTBS A todo test unexpectedly succeeding
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
More information about the wine-cvs
mailing list