Excellent. That gave me the right idea where to look at.
I found a way to pass additionals args inside Makefile.PL into
Apache::TestMM::Argv which get automatically added to $vars in
Apache::TestConfig. It seems to work well. Committed in r1875598.
Thanks and regards,
Rainer
Am 24.03.2020 um 18:35 schrieb Joe Ortqon:
On Tue, Mar 24, 2020 at 05:55:20PM +0100, Rainer Jung wrote:
I've got the following problem: I want to use a new config var in
Apache::Test as a patern to replace in extra.conf.in. I added the bvar to
Apache::Test::Config, but it seems Travis uses only a released version of
Apache::Test. Is there a way of influencing Apache::Test early from our own
scripts, so that I can set a default value for the new var?
This is the downside of relying on a released Apache::Test :(
If we can patch t/TEST I think we can set the defaults. Not sure
if there is a clean way to do it but Makefile.PL is generating the file
so it's possible in theory.
If I apply this then ./t/TEST runs again with external Apache::Test
--- t/TEST~ 2020-03-12 11:46:26.823610447 +0000
+++ t/TEST 2020-03-24 17:31:43.225348563 +0000
@@ -9,6 +9,8 @@
BEGIN { eval { require blib && blib->import; } }
$Apache::TestConfig::Argv{'apxs'} = q|/home/jorton/src/asf/httpd-git/check/bin/apxs|;
+$Apache::TestConfig::Argv{'limitrequestline'} = q|128|;
+$Apache::TestConfig::Argv{'limitrequestlinex2'} = q|256|;
use strict;
use warnings FATAL => 'all';
@@ -19,4 +21,4 @@
);
-use Apache::TestRun ();Apache::TestRun->new->run(@ARGV);
\ No newline at end of file
+use Apache::TestRun ();Apache::TestRun->new->run(@ARGV);
Error message:
[ error] configure() has failed:
invalid token: @limitrequestline@ in file
/home/travis/build/apache/httpd/test/perl-framework/t/conf/extra.conf.in
I introduces the new variable in extra.conf.in in r1875569 and the needed
code in Apache::TestConfig in r1875568.
Any help welcome. Otherwise I will revert and run with local modifications.
Thanks and regards,
Rainer
Am 24.03.2020 um 14:30 schrieb Travis CI:
apache
/
httpd
<https://travis-ci.org/github/apache/httpd?utm_medium=notification&utm_source=email>
branch icon2.4.x <https://github.com/apache/httpd/tree/2.4.x>
build has failed
Build #515 was broken
<https://travis-ci.org/github/apache/httpd/builds/666326658?utm_medium=notification&utm_source=email>
arrow to build time
clock icon9 mins and 52 secs
Jim Jagielski avatarJim Jagielski
e936ddc CHANGESET →
<https://github.com/apache/httpd/compare/5855f218dcf9...e936ddc9ce2c>
2.4.42 was DOA
git-svn-id:
https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1875576
13f79535-47bb-0310-9956-ffa450edef68
Want to know about upcoming build environment updates?
Would you like to stay up-to-date with the upcoming Travis CI build
environment updates? We set up a mailing list for you!
SIGN UP HERE <http://eepurl.com/9OCsP>
book icon
Documentation <https://docs.travis-ci.com/> about Travis CI
Have any questions? We're here to help. <mailto:[email protected]>
Unsubscribe
<https://travis-ci.org/account/preferences/unsubscribe?repository=69847&utm_medium=notification&utm_source=email>
from build emails from the apache/httpd repository.
To unsubscribe from *all* build emails, please update your settings
<https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email>.
black and white travis ci logo <https://travis-ci.com>
Travis CI GmbH, Rigaer Str. 8, 10427 Berlin, Germany | GF/CEO: Randy
Jacops | Contact: [email protected] <mailto:[email protected]> |
Amtsgericht Charlottenburg, Berlin, HRB 140133 B | Umsatzsteuer-ID gemäß
§27 a Umsatzsteuergesetz: DE282002648