Module: tools
Branch: master
Commit: 05e70279bbf0a872bf3e7d5d8136869380e4e00f
URL: http://source.winehq.org/git/tools.git/?a=commit;h=05e70279bbf0a872bf3e7d5d…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Sun Mar 24 23:41:35 2013 +0100
testbot: A few spelling fixes and small wording tweaks.
---
testbot/bin/Engine.pl | 2 +-
testbot/lib/ObjectModel/Item.pm | 2 +-
testbot/lib/WineTestBot/Jobs.pm | 2 +-
testbot/lib/WineTestBot/Patches.pm | 2 +-
testbot/lib/WineTestBot/StepsTasks.pm | 2 +-
testbot/lib/WineTestBot/Tasks.pm | 2 +-
testbot/lib/WineTestBot/VMs.pm | 6 +++---
testbot/web/ForgotPassword.pl | 2 +-
testbot/web/JobDetails.pl | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/testbot/bin/Engine.pl b/testbot/bin/Engine.pl
index 489c686..da3e54c 100755
--- a/testbot/bin/Engine.pl
+++ b/testbot/bin/Engine.pl
@@ -415,7 +415,7 @@ sub InitVMs()
=item C<SafetyNet()>
-This is called on startup and regularly after that to catch thing that fall
+This is called on startup and regularly after that to catch things that fall
through the cracks, possibly because of an Engine restart.
Specifically it updates the status of all the current Jobs, Steps and
Tasks, then schedules Tasks to be run, checks the staging directory for
diff --git a/testbot/lib/ObjectModel/Item.pm b/testbot/lib/ObjectModel/Item.pm
index 94ad8e6..48864f4 100644
--- a/testbot/lib/ObjectModel/Item.pm
+++ b/testbot/lib/ObjectModel/Item.pm
@@ -184,7 +184,7 @@ sub AUTOLOAD
my $self = shift;
my $PropertyName = $ObjectModel::Item::AUTOLOAD;
- # strip fully-qualfied portion
+ # strip fully-qualified portion
$PropertyName =~ s/.*://;
if ($PropertyName eq "DESTROY")
{
diff --git a/testbot/lib/WineTestBot/Jobs.pm b/testbot/lib/WineTestBot/Jobs.pm
index 4c20948..cd6c427 100644
--- a/testbot/lib/WineTestBot/Jobs.pm
+++ b/testbot/lib/WineTestBot/Jobs.pm
@@ -155,7 +155,7 @@ sub UpdateStatus($)
# Inherit the steps most significant status with some caveats:
# - if one of the steps is still queued then this job is still running
# - if a step is skipped it's either because a previous step failed or because
- # the user cancelled the job. In both cases mark the job as failed
+ # the user canceled the job. In both cases mark the job as failed
# - if all the steps are still queued, then this job's original status,
# 'queued', is still valid
foreach my $StepStatus ("running", "failed", "skipped", "completed")
diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index c2262c7..22e00e1 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -386,7 +386,7 @@ sub IsTestPatch
=item C<NewPatch()>
-Creates a WineTestBot::Patch object for the given message. If that the message
+Creates a WineTestBot::Patch object for the given message. If the message
does impact Wine's tests then the Patch object disposition is set and no
further action is performed. Otherwise if the patch is part of a series then
it gets tied to a WineTestBot::PendingPatchSet object by
diff --git a/testbot/lib/WineTestBot/StepsTasks.pm b/testbot/lib/WineTestBot/StepsTasks.pm
index 810d5c4..f49fa68 100644
--- a/testbot/lib/WineTestBot/StepsTasks.pm
+++ b/testbot/lib/WineTestBot/StepsTasks.pm
@@ -108,7 +108,7 @@ BEGIN
CreateBasicPropertyDescriptor("FileName", "File name", !1, 1, "A", 64),
CreateBasicPropertyDescriptor("FileType", "File Type", !1, 1, "A", 64),
CreateBasicPropertyDescriptor("CmdLineArg", "Command line args", !1, !1, "A", 256),
- CreateBasicPropertyDescriptor("ChildPid", "Process id of child process", !1, !1, "N", 5),
+ CreateBasicPropertyDescriptor("ChildPid", "Child process id", !1, !1, "N", 5),
CreateBasicPropertyDescriptor("Started", "Execution started", !1, !1, "DT", 19),
CreateBasicPropertyDescriptor("Ended", "Execution ended", !1, !1, "DT", 19),
CreateBasicPropertyDescriptor("TestFailures", "Number of test failures", !1, !1, "N", 5),
diff --git a/testbot/lib/WineTestBot/Tasks.pm b/testbot/lib/WineTestBot/Tasks.pm
index fa53b07..56028d8 100644
--- a/testbot/lib/WineTestBot/Tasks.pm
+++ b/testbot/lib/WineTestBot/Tasks.pm
@@ -206,7 +206,7 @@ BEGIN
CreateItemrefPropertyDescriptor("VM", "VM", !1, 1, \&CreateVMs, ["VMName"]),
CreateBasicPropertyDescriptor("Timeout", "Timeout", !1, 1, "N", 4),
CreateBasicPropertyDescriptor("CmdLineArg", "Command line args", !1, !1, "A", 256),
- CreateBasicPropertyDescriptor("ChildPid", "Process id of child process", !1, !1, "N", 5),
+ CreateBasicPropertyDescriptor("ChildPid", "Child process id", !1, !1, "N", 5),
CreateBasicPropertyDescriptor("Started", "Execution started", !1, !1, "DT", 19),
CreateBasicPropertyDescriptor("Ended", "Execution ended", !1, !1, "DT", 19),
CreateBasicPropertyDescriptor("TestFailures", "Number of test failures", !1, !1, "N", 6),
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index ed3282c..fd064a1 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -586,7 +586,7 @@ sub CountPoweredOnNonBaseVMs
{
my $self = shift;
- my $PowerdOnVMs = 0;
+ my $PoweredOnVMs = 0;
foreach my $VM (@{$self->GetItems()})
{
my $VMStatus = $VM->Status;
@@ -596,11 +596,11 @@ sub CountPoweredOnNonBaseVMs
$VMStatus eq "idle" ||
$VMStatus eq "running"))
{
- $PowerdOnVMs++;
+ $PoweredOnVMs++;
}
}
- return $PowerdOnVMs;
+ return $PoweredOnVMs;
}
sub SortKeysBySortOrder
diff --git a/testbot/web/ForgotPassword.pl b/testbot/web/ForgotPassword.pl
index 5a9d71f..a22d441 100644
--- a/testbot/web/ForgotPassword.pl
+++ b/testbot/web/ForgotPassword.pl
@@ -44,7 +44,7 @@ sub _initialize
sub GetTitle
{
- return "Reset passwor";
+ return "Reset password";
}
sub GetHeaderText
diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index b191327..11bb122 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -245,7 +245,7 @@ sub GenerateBody
my $Action = $self->GetParam("Action");
if ($Action eq "Cancel job")
{
- print "<p>Job will be cancelled.</p>\n";
+ print "<p>Job will be canceled.</p>\n";
}
elsif ($Action eq "Restart job")
{
Module: tools
Branch: master
Commit: 5f7b8d1b8469ae097656fdb082b21042f1af142a
URL: http://source.winehq.org/git/tools.git/?a=commit;h=5f7b8d1b8469ae097656fdb0…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Sun Mar 24 23:39:54 2013 +0100
testbot/WineSendLog: Jobs are canceled at the initiative of the user and thus are not testbot errors.
Furthermore, when killed WineRunTask.pl, no longer prints the canceled message in the error log so that check was moot.
---
testbot/bin/WineSendLog.pl | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index ac522c1..4e678bd 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -57,8 +57,7 @@ sub IsBotFailure
{
my $ErrLine = $_[0];
- return ($ErrLine =~ m/Cancelled/ ||
- $ErrLine =~ m/Can't set VM status to running/ ||
+ return ($ErrLine =~ m/Can't set VM status to running/ ||
$ErrLine =~ m/Can't copy exe to VM/ ||
$ErrLine =~ m/Can't copy log from VM/ ||
$ErrLine =~ m/Can't copy generated executable from VM/);
Module: tools
Branch: master
Commit: f113f4164551c0bab165a7b0f3b62baf447fe534
URL: http://source.winehq.org/git/tools.git/?a=commit;h=f113f4164551c0bab165a7b0…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Sun Mar 24 23:38:24 2013 +0100
testbot: Give a '.diff' extension to the mailed-in patches.
This way the web server knows what MIME type to give them and they get opened in an editor on download.
---
testbot/lib/WineTestBot/Patches.pm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index 11c355f..c2262c7 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -207,12 +207,12 @@ sub Submit
my $NewStep = $Steps->Add();
# Create a link to the patch file in the staging dir
my $FileNameRandomPart = GenerateRandomString(32);
- while (-e ("$DataDir/staging/${FileNameRandomPart}_patch"))
+ while (-e ("$DataDir/staging/${FileNameRandomPart}_patch.diff"))
{
$FileNameRandomPart = GenerateRandomString(32);
}
- link $PatchFileName, "$DataDir/staging/${FileNameRandomPart}_patch";
- $NewStep->FileName($FileNameRandomPart . " patch");
+ link $PatchFileName, "$DataDir/staging/${FileNameRandomPart}_patch.diff";
+ $NewStep->FileName($FileNameRandomPart . " patch.diff");
my @Keys = keys %{$Targets{$BaseName}};
$NewStep->FileType($Targets{$BaseName}{$Keys[0]});
$NewStep->InStaging(1);