Module: tools
Branch: master
Commit: abd712a8d0c81a053612aaedef5fc357466e34bb
URL: https://source.winehq.org/git/tools.git/?a=commit;h=abd712a8d0c81a053612aae…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Fri Mar 12 01:57:57 2021 +0100
testbot/WineRun*: Trace the name of the VM the task is run on.
The information is available by going to the job details page of that
task but this helps keep track of the operations performed on a
specific VM in the Engine log.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/WineRunBuild.pl | 2 +-
testbot/bin/WineRunTask.pl | 2 +-
testbot/bin/WineRunWineTest.pl | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/bin/WineRunBuild.pl b/testbot/bin/WineRunBuild.pl
index ff13052..adb1959 100755
--- a/testbot/bin/WineRunBuild.pl
+++ b/testbot/bin/WineRunBuild.pl
@@ -168,7 +168,7 @@ my $VM = $Task->VM;
my $Start = Time();
-LogMsg "Task $JobId/$StepNo/$TaskNo started\n";
+LogMsg "Task $JobId/$StepNo/$TaskNo started on ", $VM->Name, "\n";
#
diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 36b3e68..d5f2610 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -197,7 +197,7 @@ my $VM = $Task->VM;
my $Start = Time();
-LogMsg "Task $JobId/$StepNo/$TaskNo started\n";
+LogMsg "Task $JobId/$StepNo/$TaskNo started on ", $VM->Name, "\n";
#
diff --git a/testbot/bin/WineRunWineTest.pl b/testbot/bin/WineRunWineTest.pl
index 94757bf..3a267ac 100755
--- a/testbot/bin/WineRunWineTest.pl
+++ b/testbot/bin/WineRunWineTest.pl
@@ -194,7 +194,7 @@ my $VM = $Task->VM;
my $Start = Time();
-LogMsg "Task $JobId/$StepNo/$TaskNo started\n";
+LogMsg "Task $JobId/$StepNo/$TaskNo started on ", $VM->Name, "\n";
#
Module: tools
Branch: master
Commit: a9e09357310ea7ae356db7bc601c4d97efced75b
URL: https://source.winehq.org/git/tools.git/?a=commit;h=a9e09357310ea7ae356db7b…
Author: Francois Gouget <fgouget(a)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(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)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