httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Harness for the harness
Date Thu, 13 Dec 2001 19:26:12 GMT
Just in case anyone's the least bit interested, I've hacked
together a script to automate the running of the perl-framework
suite.  The script is named 'dandt' ('Download AND Test', pronounced
'dandy-T' :-), and it and a man page for it can be found at

http://Ken.Coar.Org/bits/

Steps like './configure' and 'make' have their output concealed
unless they exit with an error, in which case the command's
entire output is shown.  Each MPM's test is signalled with
'MPM-Start' and 'MPM-End' lines.

Below is some sample output obtained from

dandt -d /tmp/ap2 -S modules/dav -S ssl -M worker -M prefork

Even if no-one else thinks it's worthwhile, I've enjoyed hacking
it.. :-)

----
###Test: Platform: Linux 2.2.14-5.0 i686 unknown
###Test: Using SOCKS
###Test: Working with CVS revision HEAD
###Test: Will test the following MPMs:  worker prefork
###Test: Building with ./configure options:
###Test:   --enable-auth-anon
###Test:   --enable-auth-digest
###Test:   --enable-case-filter
###Test:   --enable-case-filter-in
###Test:   --enable-cgi
###Test:   --enable-echo
###Test:   --enable-expires
###Test:   --enable-headers
###Test:   --enable-info
###Test:   --enable-mime-magic
###Test:   --enable-optional-hook-export
###Test:   --enable-optional-hook-import
###Test:   --enable-rewrite
###Test:   --enable-speling
###Test:   --enable-unique-id
###Test:   --enable-usertrack
###Test:   --enable-vhost-alias
###Test:   --prefix=/tmp/ap2/server
###Test: Will not test:  modules/dav ssl
###Test: Removing files from previous test run
###Test: Creating working directory /tmp/ap2
###Test: Locking work area: done.
###Test: Creating installation directory
###Test: Checking out: httpd-2.0
###Test: Checking out: apr
###Test: Checking out: apr-util
###Test: Checking out: httpd-test
###Test: Disabling test: modules/dav
###Test: Disabling test: ssl
###Test: Preprocessing: buildconf
###Test: Preprocessing: configure
###Test: Preprocessing: make distclean
###Test: MPM-Start: worker
###Test: configure
###Test: make
###Test: make install
###Test: make distclean
###Test: Locking test harness: done.
###Test: perl Makefile.PL
###Test: t/TEST -stop
###Test: t/TEST -clean
###Test: t/TEST -configure
###Test: Running tests
*** : setting ulimit to allow core files
ulimit -c unlimited
 exec t/TEST 
/tmp/ap2/server/bin/httpd  -d /tmp/ap2/httpd-test/perl-framework/t -f /tmp/ap2/httpd-test/perl-framework/t/conf/httpd.conf
-DAPACHE2 
using Apache/2.0.30-dev (worker MPM)

waiting for server to start: ok (waited 2 secs)
server localhost:8529 started
server localhost:8530 listening (mod_headers)
server localhost:8531 listening (mod_echo)
server localhost:8532 listening (mod_vhost_alias)
server localhost:8533 listening (mod_nntp_like)
apache/404..........ok
apache/byterange....ok
apache/getfile......ok
apache/limits.......FAILED test 9
        Failed 1/10 tests, 90.00% okay
apache/options......ok
apache/passbrigade..ok
apache/post.........ok
apache/rwrite.......ok
apr/uri.............ok
filter/case.........ok
filter/case_in......ok
filter/input_body...ok
http11/basicauth....ok
http11/chunked......FAILED tests 2, 7, 12, 17
        Failed 4/30 tests, 86.67% okay
modules/access......ok
modules/alias.......ok
modules/autoindex...ok
modules/cgi.........FAILED tests 2, 4, 10, 12, 14, 16, 18, 20, 22, 24-27, 29-36
        Failed 21/36 tests, 41.67% okay
modules/dir.........ok
modules/env.........ok
modules/expires.....ok
modules/headers.....ok
modules/include.....ok
modules/info........ok
modules/negotiation.ok
modules/rewrite.....ok
modules/setenvif....ok
modules/status......ok
modules/vhost_alias.ok
protocol/echo.......ok
protocol/nntp-like..ok
Failed Test      Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
apache/limits.t                       10    1  10.00%  9
http11/chunked.t                      30    4  13.33%  2, 7, 12, 17
modules/cgi.t                         36   21  58.33%  2, 4, 10, 12, 14, 16, 18, 20,
                                                  22, 24-27, 29-36
*** : server localhost:8529 shutdown
!!! : error running tests (please examine t/logs/error_log)
Failed 3/31 test scripts, 90.32% okay. 26/2041 subtests failed, 98.73% okay.
###Test: Unlocking test harness: done.
###Test: MPM-End: worker
###Test: MPM-Start: prefork
###Test: configure
###Test: make
###Test: make install
###Test: make distclean
###Test: Locking test harness: done.
###Test: perl Makefile.PL
###Test: t/TEST -stop
###Test: t/TEST -clean
###Test: t/TEST -configure
###Test: Running tests
*** : setting ulimit to allow core files
ulimit -c unlimited
 exec t/TEST 
/tmp/ap2/server/bin/httpd  -d /tmp/ap2/httpd-test/perl-framework/t -f /tmp/ap2/httpd-test/perl-framework/t/conf/httpd.conf
-DAPACHE2 
using Apache/2.0.30-dev (prefork MPM)

waiting for server to start: ok (waited 1 secs)
server localhost:8529 started
server localhost:8530 listening (mod_headers)
server localhost:8531 listening (mod_echo)
server localhost:8532 listening (mod_vhost_alias)
server localhost:8533 listening (mod_nntp_like)
apache/404..........ok
apache/byterange....ok
apache/getfile......ok
apache/limits.......FAILED test 9
        Failed 1/10 tests, 90.00% okay
apache/options......ok
apache/passbrigade..ok
apache/post.........ok
apache/rwrite.......ok
apr/uri.............ok
filter/case.........ok
filter/case_in......ok
filter/input_body...ok
http11/basicauth....ok
http11/chunked......FAILED tests 2, 7, 12, 17
        Failed 4/30 tests, 86.67% okay
modules/access......ok
modules/alias.......ok
modules/autoindex...ok
modules/cgi.........ok
modules/dir.........ok
modules/env.........ok
modules/expires.....ok
modules/headers.....ok
modules/include.....ok
modules/info........ok
modules/negotiation.ok
modules/rewrite.....ok
modules/setenvif....ok
modules/status......ok
modules/vhost_alias.ok
protocol/echo.......ok
protocol/nntp-like..ok
Failed Test      Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
apache/limits.t                       10    1  10.00%  9
http11/chunked.t                      30    4  13.33%  2, 7, 12, 17
*** : server localhost:8529 shutdown
!!! : error running tests (please examine t/logs/error_log)
Failed 2/31 test scripts, 93.55% okay. 5/2041 subtests failed, 99.76% okay.
###Test: Unlocking test harness: done.
###Test: MPM-End: prefork
###Test: Unlocking work area: done.
###Test: End of test run
----
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Mime
View raw message