Francois Gouget : testbot/reporttest: Use stubs instead of hand-coding successful tests.

Alexandre Julliard julliard at winehq.org
Tue Feb 9 15:47:09 CST 2021


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Feb  9 03:14:25 2021 +0100

testbot/reporttest: Use stubs instead of hand-coding successful tests.

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

---

 testbot/src/reporttest/report.template | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index dc4b397..14d2cf6 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -301,11 +301,8 @@ advapi32:service:037c done (0) in 11s
 service.c:20: Test failed: A failure in the subprocess
 4567:service: 10 tests executed (0 marked as todo, 1 failure), 0 skipped.
 
-advpack:advpack start dlls/advpack/tests/advpack.c -
------ A standard successful test unit
------ Expected assessement: Success, unless the previous test interferes
-0da0:advpack: 99 tests executed (0 marked as todo, 0 failures), 0 skipped.
-advpack:advpack:0da0 done (0) in 0s
+----- Keep this stub in case the previous test is mishandled
+stub advpack:advpack
 
 advpack:files start dlls/advpack/tests/files.c -
 ----- A test unit with a failed test in the main process before a subprocess
@@ -458,11 +455,8 @@ comctl32:monthcal:0148 done (0) in 9s
 security.c:41: Test marked todo: Hello Wine!
 0955:security: 18 tests executed (1 marked as todo, 0 failures), 0 skipped.
 
-comctl32:mru start dlls/comctl32/tests/mru.c -
------ A standard successful test unit
------ Expected assessement: Success, unless the previous test interferes
-0148:mru: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
-comctl32:mru:0148 done (0) in 9s
+----- Keep this stub in case the previous test is mishandled
+stub comctl32:mru
 
 comctl32:pager start dlls/comctl32/tests/pager.c -
 ----- A test unit with a misplaced subprocess skip test summary line
@@ -473,11 +467,8 @@ comctl32:pager:0148 done (0) in 9s
 security.c:42: Tests skipped: Another time
 0956:security: 18 tests executed (0 marked as todo, 0 failures), 1 skipped.
 
-comctl32:progress start dlls/comctl32/tests/progress.c -
------ A standard successful test unit
------ Expected assessement: Success
-0148:progress: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
-comctl32:progress:0148 done (0) in 9s
+----- Keep this stub in case the previous test is mishandled
+stub comctl32:progress
 
 stub comctl32:propsheet
 




More information about the wine-cvs mailing list