1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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.
This commit is contained in:
Dan Fandrich 2015-03-24 23:43:32 +01:00
parent 35648f2e79
commit a45146868b

View File

@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___ # | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____| # \___|\___/|_| \_\_____|
# #
# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. # Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
# #
# This software is licensed as described in the file COPYING, which # This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms # 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. # --extvercmd=[command] Command to use for displaying version with cross compiles.
# --mktarball=[command] Command to run after completed test # --mktarball=[command] Command to run after completed test
# --name=[name] Set name to report as # --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 # --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 # --nogitpull Don't pull from git even though it is a git tree
# --nobuildconf Don't run buildconf # --nobuildconf Don't run buildconf
@ -108,6 +109,9 @@ while ($ARGV[0]) {
elsif ($ARGV[0] =~ /--desc=/) { elsif ($ARGV[0] =~ /--desc=/) {
$desc = (split(/=/, shift @ARGV, 2))[1]; $desc = (split(/=/, shift @ARGV, 2))[1];
} }
elsif ($ARGV[0] =~ /--notes=/) {
$notes = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--configure=(.*)/) { elsif ($ARGV[0] =~ /--configure=(.*)/) {
$confopts = $1; $confopts = $1;
shift @ARGV; shift @ARGV;