Module: tools
Branch: master
Commit: c5a6fa1b41b03452bb2167b002fb8056086c1ad0
URL: https://source.winehq.org/git/tools.git/?a=commit;h=c5a6fa1b41b03452bb2167b…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Sep 24 11:00:04 2019 +0200
testbot/Engine: Return more specific errors when SendCmdReceiveReply() fails.
In case there is a doubt they now explicitly indicate which command
failed.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/WineTestBot/Engine/Notify.pm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/testbot/lib/WineTestBot/Engine/Notify.pm b/testbot/lib/WineTestBot/Engine/Notify.pm
index ddb14d2..de73425 100644
--- a/testbot/lib/WineTestBot/Engine/Notify.pm
+++ b/testbot/lib/WineTestBot/Engine/Notify.pm
@@ -82,7 +82,7 @@ sub Shutdown($$)
my $Reply = SendCmdReceiveReply("shutdown $KillTasks $KillVMs\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the Shutdown command";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -105,7 +105,7 @@ sub JobStatusChange($$$)
my $Reply = SendCmdReceiveReply("jobstatuschange $JobKey $OldStatus $NewStatus\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the JobStatusChange command";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -122,7 +122,7 @@ sub JobCancel($)
my $Reply = SendCmdReceiveReply("jobcancel $JobKey\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the JobCancel command";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -139,7 +139,7 @@ sub JobRestart($)
my $Reply = SendCmdReceiveReply("jobrestart $JobKey\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the JobRestart command";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -154,7 +154,7 @@ sub RescheduleJobs()
my $Reply = SendCmdReceiveReply("reschedulejobs\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the RescheduleJobs command";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -171,7 +171,7 @@ sub VMStatusChange($$$)
my $Reply = SendCmdReceiveReply("vmstatuschange $VMKey $OldStatus $NewStatus\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the VMStatusChange notification";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -186,7 +186,7 @@ sub WinePatchMLSubmission()
my $Reply = SendCmdReceiveReply("winepatchmlsubmission\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the WinePatchMLSubmission command";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -201,7 +201,7 @@ sub WinePatchWebSubmission()
my $Reply = SendCmdReceiveReply("winepatchwebsubmission\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the WinePatchWebSubmission command";
}
if (substr($Reply, 0, 1) eq "1")
{
@@ -218,7 +218,7 @@ sub GetScreenshot($)
my $Reply = SendCmdReceiveReply("getscreenshot $VMName\n");
if (length($Reply) < 1)
{
- return "Unrecognized reply received from engine";
+ return "The Engine did not acknowledge the GetScreenshot command";
}
if (substr($Reply, 0, 1) eq "1")
{
Module: tools
Branch: master
Commit: a46113d323c778a50a1e783ccd216d06b7e3f00f
URL: https://source.winehq.org/git/tools.git/?a=commit;h=a46113d323c778a50a1e783…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Sep 24 10:58:59 2019 +0200
testbot/WineRunReconfig: Fix a typo in a comment.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/WineRunReconfig.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/WineRunReconfig.pl b/testbot/bin/WineRunReconfig.pl
index a443027..fe36ad0 100755
--- a/testbot/bin/WineRunReconfig.pl
+++ b/testbot/bin/WineRunReconfig.pl
@@ -468,7 +468,7 @@ if ($NewStatus eq "completed")
if ($FileName !~ m~^latest/~ and !$Summary->{$BaseName} and
-f "$DataDir/latest/$BaseName")
{
- # This file was not updated to there is no point redownloading it.
+ # This file was not updated so there is no point in redownloading it.
next;
}
Debug(Elapsed($Start), " Retrieving '$TaskDir/$BaseName'\n");
Module: vkd3d
Branch: master
Commit: 8e6f5ddd24158c7402b5fe28426083539eb7f617
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=8e6f5ddd24158c7402b5fe2…
Author: Conor McCarthy <cmccarthy(a)codeweavers.com>
Date: Tue Sep 24 22:13:34 2019 +1000
vkd3d: Make all descriptor reads and writes atomic.
Shadow of the Tomb Raider overwrites descriptors while they are being
copied in another thread. This patch makes reads and writes atomic for
CBV, SRV, UAV, and sampler descriptors, but not RTV and DSV, for which
copying is not implemented.
Benchmark total frames vs mutex count (the single mutex was locked
only once for copying):
1 mutex: 6480 6489 6503
8 mutexes: 6691 6693 6661
16 mutexes: 6665 6682 6703
Signed-off-by: Conor McCarthy <cmccarthy(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
libs/vkd3d/device.c | 35 +++++++++++++++++------
libs/vkd3d/resource.c | 70 +++++++++++++++++++++++++++++-----------------
libs/vkd3d/vkd3d_private.h | 16 +++++++++++
3 files changed, 88 insertions(+), 33 deletions(-)
Diff: https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=8e6f5ddd24158c7402b…