Skip to content

Commit

Permalink
testcurl.pl: add the --notes option to supply more info about a build
Browse files Browse the repository at this point in the history
Support for notes has been in place for a while, but it required
being added to the setup file manually.
  • Loading branch information
dfandrich committed Mar 24, 2015
1 parent 35648f2 commit a451468
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testcurl.pl
Expand Up @@ -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
# you should have received as part of this distribution. The terms
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -108,6 +109,9 @@
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;
Expand Down

0 comments on commit a451468

Please sign in to comment.