Display notes from setup file in testcurl.pl

Autobuild submitters can use this to add some text to their
setup files to describe issues they've found with the build
or tests. This could include laying blame on test failures on
network issues or dependent libraries, explaining away compiler
warnings or providing any additional information that could be
useful to people reviewing and investigating problems with the
publicly available autobuild logs.  Note that persistent test
failures that are not issues with curl itself should normally be
fixed by excluding them from the test run instead.

This is an entirely optional field that is not entered by the
user the first time a new build is created.
This commit is contained in:
Dan Fandrich 2011-06-23 22:38:33 -07:00
parent 43ce5580a8
commit 17a2d70dc4

View File

@ -70,10 +70,10 @@ use vars qw($version $fixed $infixed $CURLDIR $git $pwd $build $buildlog
use vars qw($name $email $desc $confopts $runtestopts $setupfile $mktarball
$extvercmd $nogitpull $nobuildconf $crosscompile
$timestamp);
$timestamp $notes);
# version of this script
$version='2010-08-20';
$version='2011-06-23';
$fixed=0;
# Determine if we're running from git or a canned copy of curl,
@ -308,6 +308,7 @@ if ($fixed < 4) {
print F "email='$email'\n";
print F "desc='$desc'\n";
print F "confopts='$confopts'\n";
print F "notes='$notes'\n";
print F "fixed='$fixed'\n";
close(F);
}
@ -330,6 +331,7 @@ logit 'TRANSFER CONTROL ==== 1120 CHAR LINE' . $str1066os . 'LINE_END';
logit "NAME = $name";
logit "EMAIL = $email";
logit "DESC = $desc";
logit "NOTES = $notes";
logit "CONFOPTS = $confopts";
logit "CPPFLAGS = ".$ENV{CPPFLAGS};
logit "CFLAGS = ".$ENV{CFLAGS};