httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Felt <mamf...@gmail.com>
Subject Re: setting up testing
Date Wed, 04 Apr 2012 22:03:38 GMT
I found some info on a mod_perl, and have picked it up via svn - but am
stuck - where does it expect to be?
root@x104:[/data/prj/modperl]perl Makefile.PL MP_APXS=/opt/httpd/bin/apxs
Reading Makefile.PL args from @ARGV
   MP_APXS = /opt/httpd/bin/apxs
[  error] Can't find a sub-directory Apache-Test. Make sure that you are
using a complete source distribution


On Wed, Apr 4, 2012 at 10:13 PM, Michael Felt <mamfelt@gmail.com> wrote:

> Bother: I did not need to install any extra modules - and this has taken
> forever, because I kept running into problems trying to install all the
> extra modules.
>
> However, "Is this all there is?", and why do I not have a mod_perl.c - is
> that a "tester/developer" only module, or just no longer in the "all" list?
>
> Would you consider this a PASS for the tests?
>
> Thx.
>
> root@x104:[/data/prj/SVN/Apache-Test]t/TEST
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /usr/opt/perl5/bin/perl
> /data/prj/SVN/Apache-Test/t/TEST
> /opt/httpd/sbin/httpd  -d /data/prj/SVN/Apache-Test/t -f
> /data/prj/SVN/Apache-Test/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
> using Apache/2.5.0-dev (worker MPM)
>
> waiting 60 seconds for server to start: ...
> waiting 60 seconds for server to start: ok (waited 2 secs)
> server loopback:8529 started
> [   info] adding source lib /data/prj/SVN/Apache-Test/../Apache-Test/lib
> to @INC
> t/alltest/all...................skipped
>         all skipped: testing all.t
> t/alltest2/all..................skipped
>         all skipped: testing more than one all.t
> t/bad_coding....................ok
>
> t/cookies.......................ok
>
> t/import........................ok
>
> t/log_watch.....................ok
>
> t/log_watch_for_broken_lines....ok
>
> t/more/all......................skipped
>         all skipped: cannot find module 'mod_perl.c'
> t/next_available_port...........ok
>
> t/ping..........................ok
>
> t/redirect......................ok
>
> t/request.......................ok
>
> t/sok...........................ok
>
> All tests successful, 3 tests skipped.
> Files=13, Tests=93, 24 wallclock secs ( 8.67 cusr +  6.69 csys = 15.36 CPU)
> [warning] server loopback:8529 shutdown
> [warning] port 8529 still in use...
> ......done
>
>
>
> On Thu, Mar 1, 2012 at 9:01 PM, Jeff Trawick <trawick@gmail.com> wrote:
>
>> On Thu, Mar 1, 2012 at 2:50 PM, Michael Felt <mamfelt@gmail.com> wrote:
>> > Want to get started on this. I read the links from
>> > http://httpd.apache.org/test/ and think I understand the flood
>> subproject.
>> > From reading the forums here recently I get the impression that more
>> than
>> > flood is being used, or even something other than flood.
>> >
>> > Looking for assistance and suggestions.
>>
>> perl framework...
>>
>> get svn on your AIX box if you don't have it already
>>
>> check out /httpd/test/framework/trunk/
>>
>> perl Makefile.PL -apxs /path/to/apxs
>> t/TEST
>> t/TEST -clean
>>
>> No it won't be fun because things will fail and there will be many
>> different reasons, few if any obvious ones :)
>>
>> You will likely need to install more Perl modules...  Some old
>> instructions of mine:
>>
>>    perl -MCPAN -e 'shell'
>>    cpan>install Test::Harness
>>    cpan>install URI
>>    cpan>install LWP::Protocol::https
>>    cpan>install HTTP::DAV
>>    cpan>install Bundle::ApacheTest
>>    cpan>install LWP::Simple
>>
>> (dunno if this is current or everything you need on your level of AIX;
>> this was for OpenSolaris a couple of years ago)
>>
>
>

Mime
View raw message