Francois Gouget : testbot/LibvirtTool: SetWinLocale does not support --vm anymore.
Alexandre Julliard
julliard at winehq.org
Tue Jan 11 15:42:56 CST 2022
Module: tools
Branch: master
Commit: 922f2a8165397d87749349218391a2f492d8d7e4
URL: https://source.winehq.org/git/tools.git/?a=commit;h=922f2a8165397d87749349218391a2f492d8d7e4
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Jan 11 19:44:12 2022 +0100
testbot/LibvirtTool: SetWinLocale does not support --vm anymore.
Also pass the --debug option if appropriate.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/bin/LibvirtTool.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index c4dbffb..70dfd34 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -673,7 +673,9 @@ sub Revert()
if ($SetLocale)
{
Debug(Elapsed($Start), " Setting up the $SetLocale locale on $VMKey\n");
- if (system("$BinDir/SetWinLocale", "--vm", $VMKey, "--default", $SetLocale))
+ my @Cmd = ("$BinDir/SetWinLocale", $VM->Hostname, "--default", $SetLocale);
+ push @Cmd, "--debug" if ($Debug);
+ if (system(@Cmd))
{
FatalError("Could not set the $VMKey locale to $SetLocale\n");
}
More information about the wine-cvs
mailing list