Francois Gouget : testbot/build: Standardize some Build.pl and WineTest.pl messages.

Alexandre Julliard julliard at winehq.org
Tue Jul 10 12:39:41 CDT 2018


Module: tools
Branch: master
Commit: 5863db28e114a7dc81a8a409be0c2773ffaf3cb9
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=5863db28e114a7dc81a8a409be0c2773ffaf3cb9

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Jul 10 10:33:04 2018 +0200

testbot/build: Standardize some Build.pl and WineTest.pl messages.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/build/Build.pl    | 4 ++--
 testbot/bin/build/WineTest.pl | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/testbot/bin/build/Build.pl b/testbot/bin/build/Build.pl
index a3cb170..1a69669 100755
--- a/testbot/bin/build/Build.pl
+++ b/testbot/bin/build/Build.pl
@@ -223,13 +223,13 @@ while (@ARGV)
       $PatchFile = "$DataDir/staging/$Arg";
       if (!-r $PatchFile)
       {
-        Error "patch file '$Arg' is not readable\n";
+        Error "'$Arg' is not readable\n";
         $Usage = 2;
       }
     }
     else
     {
-      Error "the patch filename '$Arg' contains invalid characters\n";
+      Error "the '$Arg' filename contains invalid characters\n";
       $Usage = 2;
       last;
     }
diff --git a/testbot/bin/build/WineTest.pl b/testbot/bin/build/WineTest.pl
index 1c43a9b..2b2ea2b 100755
--- a/testbot/bin/build/WineTest.pl
+++ b/testbot/bin/build/WineTest.pl
@@ -252,7 +252,7 @@ while (@ARGV)
     }
     else
     {
-      Error "invalid file name '$Arg'\n";
+      Error "the '$Arg' filename contains invalid characters\n";
       $Usage = 2;
       last;
     }




More information about the wine-cvs mailing list