Module: tools Branch: master Commit: 28e77b884077e52aba213a079a320672e404881a URL: http://source.winehq.org/git/tools.git/?a=commit;h=28e77b884077e52aba213a079...
Author: Francois Gouget fgouget@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")