]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Display notes from setup file in testcurl.pl
authorDan Fandrich <dan@coneharvesters.com>
Fri, 24 Jun 2011 05:38:33 +0000 (22:38 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 24 Jun 2011 05:49:28 +0000 (22:49 -0700)
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.

tests/testcurl.pl

index 08b80d1dead9ac271c740e563158c5e2c4204c3c..83a42614aa8b2b6071c1a8a99096965d21b19466 100755 (executable)
@@ -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};