You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dan Wilga <dw...@MtHolyoke.edu> on 2004/08/25 19:58:01 UTC
"make test" in 1.99_16
I'm having two problems with "make test" in 1.99_16. Here's a
transcript of what happens:
>If for some reason you want to skip the test suite, type: skip
>
>Please provide a full path to 'httpd' executable or choose from the
>following options:
>
> [1] /usr/sbin/httpd
>
> [1]
>
>
>Next we need to know where the 'apxs' script is located. This script
>provides a lot of information about the apache installation, and makes
>it easier to find things. However it's not available on all platforms,
>therefore it's optional.
>
>If you don't have it installed it's not a problem. Just press Enter.
>
>Notice that if you have Apache 2.x installed that script could be
>called as 'apxs2'.
>
>If you have more than one Apache server is installed, make sure you
>supply the path to the apxs script you are going to use for testing.
>You can always override this setting at run time via the '-apxs'
>option. For example:
>
> % t/TEST -apxs /path/to/alternative/apxs
>
>or via the environment variable APACHE_TEST_APXS. For example:
>
> % APACHE_TEST_APXS=/path/to/alternative/apxs t/TEST
>
>
>Please provide a full path to (optional) 'apxs' executable or choose
>from the following options:
>
> [1] /usr/sbin/apxs
>
> [1]
>[warning] rerunning '/usr/bin/perl
>/users2/dwilga/mod_perl-1.99_16/t/TEST -bugreport -verbose=0' with
>new config opts
>
>
>We are now going to configure the Apache-Test framework.
>This configuration process needs to be done only once.
...and now it goes into an infinite loop, asking me again to confirm
httpd and apxs locations. It does the same thing if I actually type
"1" at both prompts instead of just hitting return. I checked, and
the default paths for these programs are correct.
That's the first problem. The second happens when I try to break out
by typing "skip", as instructed:
>If for some reason you want to skip the test suite, type: skip
>
>Please provide a full path to 'httpd' executable or choose from the
>following options:
>
> [1] /usr/sbin/httpd
>
> [1] skip
>Undefined subroutine &Apache::TestConfig::skip_test_suite called at
>/users2/dwilga/mod_perl-1.99_16/Apache-Test/lib/Apache/TestConfig.pm
>line 2194, <STDIN> line 1.
>+--------------------------------------------------------+
>| Please file a bug report: http://perl.apache.org/bugs/ |
>+--------------------------------------------------------+
>make: *** [run_tests] Error 2
It has the effect of quitting the test, but is probably not as
elegant as originally intended.
--
Dan Wilga dwilga@mtholyoke.edu
Web Technology Specialist http://www.mtholyoke.edu
Mount Holyoke College Tel: 413-538-3027
South Hadley, MA 01075 "Who left the cake out in the rain?"
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: "make test" in 1.99_16
Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Dan Wilga wrote:
>
>> I'm having two problems with "make test" in 1.99_16. Here's a
>> transcript of what happens:
>
>
>>> We are now going to configure the Apache-Test framework.
>>> This configuration process needs to be done only once.
>>
>>
>>
>> ...and now it goes into an infinite loop, asking me again to confirm
>> httpd and apxs locations. It does the same thing if I actually type
>> "1" at both prompts instead of just hitting return. I checked, and the
>> default paths for these programs are correct.
>>
>> That's the first problem.
>
>
> It was not supposed to need the interactive config, since when you build
> mod_perl 2.0, A-T already has all the needed information. Please post
> your lib/Apache/BuildConfig.pm from which A-T takes this info.
Wait, first please try the current cvs, I think the current cvs should
work better.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: "make test" in 1.99_16
Posted by Stas Bekman <st...@stason.org>.
Dan Wilga wrote:
> I'm having two problems with "make test" in 1.99_16. Here's a transcript
> of what happens:
>> We are now going to configure the Apache-Test framework.
>> This configuration process needs to be done only once.
>
>
> ...and now it goes into an infinite loop, asking me again to confirm
> httpd and apxs locations. It does the same thing if I actually type "1"
> at both prompts instead of just hitting return. I checked, and the
> default paths for these programs are correct.
>
> That's the first problem.
It was not supposed to need the interactive config, since when you build
mod_perl 2.0, A-T already has all the needed information. Please post
your lib/Apache/BuildConfig.pm from which A-T takes this info.
> The second happens when I try to break out by
> typing "skip", as instructed:
>
>> If for some reason you want to skip the test suite, type: skip
>>
>> Please provide a full path to 'httpd' executable or choose from the
>> following options:
>>
>> [1] /usr/sbin/httpd
>>
>> [1] skip
>> Undefined subroutine &Apache::TestConfig::skip_test_suite called at
>> /users2/dwilga/mod_perl-1.99_16/Apache-Test/lib/Apache/TestConfig.pm
>> line 2194, <STDIN> line 1.
>> +--------------------------------------------------------+
>> | Please file a bug report: http://perl.apache.org/bugs/ |
>> +--------------------------------------------------------+
>> make: *** [run_tests] Error 2
>
>
> It has the effect of quitting the test, but is probably not as elegant
> as originally intended.
Yup, that's a bug I've introduced while moving things around, now fixed in
the cvs.
Unfortunately we don't have a test suite to test to test A-T configuration
process. And until someone writes one, we are doomed to break previously
working things :(
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html