From: Dan Fandrich Date: Fri, 24 Jun 2011 05:38:33 +0000 (-0700) Subject: Display notes from setup file in testcurl.pl X-Git-Tag: curl-7_22_0~247 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17a2d70dc40fedef7865648f3662d0e239a3036c;p=thirdparty%2Fcurl.git 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. --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 08b80d1dea..83a42614aa 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -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};