Francois Gouget : testbot: Shorten the "No patch found" disposition name.
Alexandre Julliard
julliard at winehq.org
Thu Apr 21 15:12:06 CDT 2022
Module: tools
Branch: master
Commit: 2722d165757062d75962150ede3f918f2c8eacd4
URL: https://source.winehq.org/git/tools.git/?a=commit;h=2722d165757062d75962150ede3f918f2c8eacd4
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Apr 21 15:57:29 2022 +0200
testbot: Shorten the "No patch found" disposition name.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/WineTestBot/Patches.pm | 2 +-
testbot/tests/TestWTBS | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index d2ac52e..c0768be 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -550,7 +550,7 @@ sub NewPatch($$;$)
my $SubjectInfo = $Patch->ParseSubject();
if (@PatchBodies == 0)
{
- $Patch->Disposition("No patch found");
+ $Patch->Disposition("No patch");
}
elsif (@PatchBodies > 1)
{
diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS
index 8067a62..e5cd448 100755
--- a/testbot/tests/TestWTBS
+++ b/testbot/tests/TestWTBS
@@ -1460,7 +1460,7 @@ sub CheckPatches()
{
ok(($Patch->Subject =~ /NoPatch/ or
$Patch->Disposition eq "Reply to a patch series" or
- $Patch->Disposition eq "No patch found"),
+ $Patch->Disposition eq "No patch"),
"Found no file for patch ". $Patch->Id .": ". $Patch->Subject)
or diag("Disposition=". $Patch->Disposition);
}
More information about the wine-cvs
mailing list