Francois Gouget : testbot/reporttest: Add coverage for subtests.

Alexandre Julliard julliard at winehq.org
Thu Sep 12 16:27:53 CDT 2019


Module: tools
Branch: master
Commit: bc12f450f633625b58b9fd7b4c79a1acdba132ac
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=bc12f450f633625b58b9fd7b4c79a1acdba132ac

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Sep 12 11:18:05 2019 +0200

testbot/reporttest: Add coverage for subtests.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/src/reporttest/report.template | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index 2d074f9..00b6c2b 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -557,7 +557,17 @@ comctl32:tooltips start dlls/comctl32/tests/toolbar.c -
 ----- Expected assessement: crashed
 comctl32:tooltips done (3221225477) in 0s
 
-stub comctl32:trackbar
+comctl32:trackbar start dlls/comctl32/tests/trackbar.c -
+----- A unit test with a subtest
+trackbar.c:496: Subtest driver
+driver.c:40: Test failed: Something wrong
+driver.c:41: Test succeeded inside todo block: Something right!
+driver.c:42: Test marked todo: Hello Wine!
+driver.c:43: Tests skipped: Another time
+----- Expected assessement: 2 failures, 1 todo, 1 skip
+07b1:trackbar: 3 tests executed (1 marked as todo, 2 failures), 1 skipped.
+comctl32:trackbar:07b1 done (2) in 0s
+
 stub comctl32:treeview
 stub comctl32:updown
 stub comdlg32:filedlg




More information about the wine-cvs mailing list