From: Dan Fandrich Date: Tue, 24 Mar 2015 22:43:32 +0000 (+0100) Subject: testcurl.pl: add the --notes option to supply more info about a build X-Git-Tag: curl-7_42_0~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a45146868b653130f7309859aca0fb86e4f3efec;p=thirdparty%2Fcurl.git testcurl.pl: add the --notes option to supply more info about a build Support for notes has been in place for a while, but it required being added to the setup file manually. --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 5d28817e1d..2dc3de159b 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2014, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -46,6 +46,7 @@ # --extvercmd=[command] Command to use for displaying version with cross compiles. # --mktarball=[command] Command to run after completed test # --name=[name] Set name to report as +# --notes=[notes] More human-readable information about this configuration # --nocvsup Don't pull from git even though it is a git tree # --nogitpull Don't pull from git even though it is a git tree # --nobuildconf Don't run buildconf @@ -108,6 +109,9 @@ while ($ARGV[0]) { elsif ($ARGV[0] =~ /--desc=/) { $desc = (split(/=/, shift @ARGV, 2))[1]; } + elsif ($ARGV[0] =~ /--notes=/) { + $notes = (split(/=/, shift @ARGV, 2))[1]; + } elsif ($ARGV[0] =~ /--configure=(.*)/) { $confopts = $1; shift @ARGV;