Francois Gouget : testbot/WineRunTask: Set the system time on the Windows VM before running the tests.
Alexandre Julliard
julliard at winehq.org
Thu Mar 6 10:43:32 CST 2014
Module: tools
Branch: master
Commit: 28e77b884077e52aba213a079a320672e404881a
URL: http://source.winehq.org/git/tools.git/?a=commit;h=28e77b884077e52aba213a079a320672e404881a
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Mar 6 15:26:34 2014 +0100
testbot/WineRunTask: Set the system time on the Windows VM before running the tests.
---
testbot/bin/WineRunTask.pl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 3caa673..3b5c17e 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -228,6 +228,11 @@ if (defined $ErrMessage)
FatalError "Can't set VM status to running: $ErrMessage\n",
$FullErrFileName, $Job, $Step, $Task;
}
+if (!$TA->SetTime())
+{
+ # Not a fatal error
+ LogTaskError("Unable to set the VM system time (". $TA->GetVersion() ."): ". $TA->GetLastError() ."\n", $FullErrFileName);
+}
my $FileType = $Step->FileType;
if ($FileType ne "exe32" && $FileType ne "exe64")
More information about the wine-cvs
mailing list