Module: tools
Branch: master
Commit: 906b5f1004b9484969cb520e25a18468ae208820
URL: https://source.winehq.org/git/tools.git/?a=commit;h=906b5f1004b9484969cb520…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Apr 20 16:52:22 2021 +0200
testbot/reporttest: Update the tests to match the current Wine.
Specifically, match Wine's test renames and deletions. This avoids
puzzling results in the index pages.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/src/reporttest/report.template | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/testbot/src/reporttest/report.template b/testbot/src/reporttest/report.template
index f1dbfd6..6af2ff5 100644
--- a/testbot/src/reporttest/report.template
+++ b/testbot/src/reporttest/report.template
@@ -423,20 +423,20 @@ comctl32:button skipped dlls/comctl32/tests/button.c
----- Skipping a test unit by user request
----- Expected assessement: Skipped by user
-comctl32:comboex start dlls/comctl32/tests/comboex.c
+comctl32:combo start dlls/comctl32/tests/combo.c
----- WTBS Simple success in a todo test
----- WTBS Simple trace, ok, todo, skip sampler
----- A test unit with a subprocess and failed, todo and skipped tests in the
----- main process.
----- Expected assessement: 2 failures, 1 todo, 1 skip
-comboex.c:40: Test failed: A failure in the main process
-comboex.c:41: Test succeeded inside todo block: Success in the main process
-comboex.c:42: Test marked todo: Fixme in the main process
-comboex.c:43: Tests skipped: Skipped in the main process
+combo.c:40: Test failed: A failure in the main process
+combo.c:41: Test succeeded inside todo block: Success in the main process
+combo.c:42: Test marked todo: Fixme in the main process
+combo.c:43: Tests skipped: Skipped in the main process
This line says nothing is wrong because it's from the subprocess
-1234:comboex: 116 tests executed (0 marked as todo, 0 failures), 0 skipped.
-0c9c:comboex: 116 tests executed (1 marked as todo, 2 failures), 1 skipped.
-comctl32:comboex:0c9c done (2) in 0s
+1234:combo: 116 tests executed (0 marked as todo, 0 failures), 0 skipped.
+0c9c:combo: 116 tests executed (1 marked as todo, 2 failures), 1 skipped.
+comctl32:combo:0c9c done (2) in 0s
comctl32:datetime start dlls/comctl32/tests/datetime.c
----- A test unit reporting a failure but with no test failed line
@@ -874,7 +874,6 @@ stub msvcrt:data
stub msvcrt:dir
stub msvcrt:environ
stub msvcrt:file
-stub msvcrt:headers
stub msvcrt:heap
stub msvcrt:locale
stub msvcrt:misc
@@ -962,17 +961,16 @@ stub qmgr:enum_jobs
stub qmgr:file
stub qmgr:job
stub qmgr:qmgr
-stub quartz:avisplitter
+stub quartz:avisplit
stub quartz:dsoundrender
stub quartz:filtergraph
stub quartz:filtermapper
stub quartz:memallocator
-stub quartz:misc
stub quartz:mpegsplit
-stub quartz:referenceclock
+stub quartz:systemclock
stub quartz:videorenderer
stub rasapi32:rasapi
-stub reg.exe:reg
+stub reg.exe:add
stub regedit.exe:regedit
stub riched20:editor
stub riched20:richole
Module: tools
Branch: master
Commit: 42f389faf327f4634d9b1f147d9462062b5eb64c
URL: https://source.winehq.org/git/tools.git/?a=commit;h=42f389faf327f4634d9b1f1…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Apr 20 16:50:09 2021 +0200
winetest/dissect: Fix handling of skipped test unit.
close_test_unit() adds an entry in summary.txt for every test unit.
So the report parser must set $summary instead of manually adding a
redundant summary.txt entry.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
winetest/dissect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winetest/dissect b/winetest/dissect
index c58e47f..ce3329e 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -627,7 +627,7 @@ while ($line = <IN>) {
if ($l_type eq "skipped")
{
add_test_line("skipped", "Skipped by user request");
- print SUM "- $dll $unit skipped - - - $source\n";
+ $summary = "skipped - - -";
mydie "too many test units skipped by user request (>$maxuserskips at $dll:$unit)" if ++$skipped_units > $maxuserskips;
$rc = 0;
}