[tools 1/2] testbot/reporttest: Remove tests for legacy TestLauncher and Wine versions.

Francois Gouget fgouget at codeweavers.com
Mon Feb 8 08:21:53 CST 2021


Remove tests for line formats that neither the TestBot nor the WineTest
website support anymore. This is the case of lines missing pids, run
times or using signed exit codes.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/src/reporttest/report.template | 64 +++++---------------------
 1 file changed, 12 insertions(+), 52 deletions(-)

diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index b541e41d8..c08b4d47c 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -313,29 +313,10 @@ advpack:install start dlls/advpack/tests/install.c -
 07b0:install: unhandled exception c0000005 at 0040167C
 advpack:install:07b0 done (-1073741819) in 0s
 
-amstream:amstream start dlls/amstream/tests/amstream.c -
------ No pid at all
------ Expected assessement: Success
-amstream: 152 tests executed (0 marked as todo, 0 failures), 0 skipped.
-amstream:amstream done (0) in 0s
-
-apphelp:apphelp start dlls/apphelp/tests/apphelp.c -
------ A test unit with no execution time
------ Expected assessement: Success
-0860:apphelp: 15 tests executed (0 marked as todo, 0 failures), 0 skipped.
-apphelp:apphelp:0860 done (0)
-
-atl:atl_ax start dlls/atl/tests/atl_ax.c -
------ Pid on the test summary line, but no pid on the done one
------ Expected assessement: Success
-0938:atl_ax: 12 tests executed (0 marked as todo, 0 failures), 0 skipped.
-atl:atl_ax done (0) in 0s
-
-atl:module start dlls/atl/tests/module.c -
------ Pid on the done line, but no pid on the test summary line
------ Expected assessement: Success
-module: 544 tests executed (0 marked as todo, 0 failures), 0 skipped.
-atl:module:0920 done (0) in 0s
+stub amstream:amstream
+stub apphelp:apphelp
+stub atl:atl_ax
+stub atl:module
 
 atl:registrar start dlls/atl/tests/registrar.c -
 ----- A test unit with a foreign test summary line
@@ -481,10 +462,7 @@ comctl32:progress start dlls/comctl32/tests/progress.c -
 0148:progress: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
 comctl32:progress:0148 done (0) in 9s
 
-comctl32:propsheet start dlls/comctl32/tests/propsheet.c -
------ A test unit with no main process test summary line and no pid anywhere
------ Expected assessement: "Missing test summary" error
-comctl32:propsheet done (0) in 9s
+stub comctl32:propsheet
 
 comctl32:rebar start dlls/comctl32/tests/rebar.c -
 ----- A test unit with an unreported crash in a subprocess
@@ -499,22 +477,16 @@ subprocess crashes either. This is why the error is "Zero exit code" and not
 07b0:rebar: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
 comctl32:rebar:07b0 done (0) in 0s
 
-comctl32:status start dlls/comctl32/tests/status.c -
------ A test unit with a subprocess crash but no pid
------ Expected assessement: "Zero exit code" error
-See the comctl32:rebar comment.
-status: unhandled exception c0000005 at 0040167C
-status: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
-comctl32:status:07b0 done (0) in 0s
+stub comctl32:status
 
 comctl32:subclass start dlls/comctl32/tests/subclass.c -
------ A test unit with a subprocess crash, no pid and a non-zero exit code
+----- A test unit with a subprocess crash, and a non-zero exit code
 ----- Expected assessement: 1 failure
 See the comctl32:rebar comment. Then note that here the main process does not
 claim success. Also note that the exit code does not correspond to that of a
 crashed process which makes sense since it did not crash.
-subclass: unhandled exception c0000005 at 0040167C
-subclass: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
+1234:subclass: unhandled exception c0000005 at 0040167C
+07b0:subclass: 2251 tests executed (0 marked as todo, 0 failures), 0 skipped.
 comctl32:subclass:07b0 done (1) in 0s
 
 comctl32:syslink start dlls/comctl32/tests/syslink.c -
@@ -534,28 +506,16 @@ Do not cut 07b0:syslink: 2251 tests executed (1 marked as todo, 2 failures), 1 s
 me off
 comctl32:syslink:07b0 done (2) in 0s
 
-comctl32:tab start dlls/comctl32/tests/tab.c -
------ A test unit crash with no pid
------ Expected assessement: crashed
-tab: unhandled exception c0000005 at 0040167C
-comctl32:tab done (-1073741819) in 0s
+stub comctl32:tab
 
-comctl32:taskdialog start dlls/comctl32/tests/taskdialog.c -
------ A test unit crash with unsigned exit code (TestLauncher)
------ Expected assessement: crashed
-taskdialog: unhandled exception c0000005 at 0040167C
-comctl32:taskdialog done (3221225477) in 0s
+stub comctl32:taskdialog
 
 comctl32:toolbar start dlls/comctl32/tests/toolbar.c -
 ----- A test unit crash with no unhandled exception line
 ----- Expected assessement: crashed
 comctl32:toolbar done (-1073741819) in 0s
 
-comctl32:tooltips start dlls/comctl32/tests/toolbar.c -
------ A test unit crash with no unhandled exception line
------ and an unsigned exit code.
------ Expected assessement: crashed
-comctl32:tooltips done (3221225477) in 0s
+stub comctl32:tooltips
 
 comctl32:trackbar start dlls/comctl32/tests/trackbar.c -
 ----- A test unit with a subtest
-- 
2.20.1




More information about the wine-devel mailing list