summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2004-11-27 15:12:11 +0000
committerhe <he@pkgsrc.org>2004-11-27 15:12:11 +0000
commit4a20e833ac0549773618e10f241e669c629eb0b2 (patch)
treec00065057601a0a5b41ccc9321e9d9da5e59b487 /www
parent81eebe6e6d87bbf24432279b25cb7c4739f30021 (diff)
downloadpkgsrc-4a20e833ac0549773618e10f241e669c629eb0b2.tar.gz
Update p5-Apache-Test from version 1.12 to 1.16.
Change log: 1.16 - November 9, 2004 launder the require()d custom config filename to make -T happy [Torsten Fo"rtsch <torsten.foertsch gmx.net>] added Apache::TestRunPHP and Apache::TestConfigPHP classes, which provide a framework for server-side testing via PHP scripts [Geoffrey Young] fix problem with multiple all.t files where only the final file was being run through the test harness. [Geoffrey Young] Documented that redirection does not work with "POST" requests in Apache::TestRequest unless LWP is installed. [David Wheeler] Separated the setting of the undocumented $RedirectOK package variable by users of Apache::TestRequest from when it is set internally by passing the "requests_redirectable" parameter to the user_agent() method. This allows users to override the behavior set by the user_agent() method without replacing it. [David Wheeler] 1.15 - October 22, 2004 add need_php4() and have_php4() which will return true when mod_php4 is available. also, tidy up need_php() and have_php() for PHP4 on Apache 2.0. [Joe Orton] add new test_config make target, equivalent to t/TEST -conf, and make it a prerequisite for the cmodules make target. now you can 'make cmodules' to build the things in c-modules/ without running t/TEST -conf first. [Geoffrey Young] add -withtestmore import action, which allows Test::More >= 0.49 to replace Test.pm as the engine for server-side tests [Geoffrey Young] add automatic core dump backtrace generation in t/REPORT if Devel::GDB is installed [Gozer] add 'testcover' make target for running tests with Devel::Cover [Geoffrey Young] 1.14 - October 12, 2004 improve the same_interpreter framework to handle response failures while trying to init and later find out the same interpreter. [Stas] make sure that 'make distclean' cleans all the autogenerated files [Stas] make sure that if -maxclients option is passed on the command line, minclients will never be bigger than that value [Stas] add -one-process runtime argument, which will start the server in single-server mode (httpd -X in Apache 1.X or httpd -D ONE_PROCESS in 2.X) [Geoffrey Young] In open_cmd, sanitize PATH instead of clearing it [Gozer] Allow / \ and \\ path delimiters in SKIP file [Markus Wichitill <mawic@gmx.de>] Added an apxs query cache for improved test performance [Gozer] run_tests make target no longer invokes t/TEST -clean, making it possible to save a few development cycles when a full cleanup is not required between runs. [Geoffrey Young] Apache::TestSmoke imrovements: [Stas] o the command line option -iterations=N should always be respected (previously it was internally overriden for order!='random'). o since IPC::Run3 broke the Ctrl-C handler, we started to loose any intermediate results, should the run be aborted. So for now, try to always store those results in the temp file: smoke-report...$iter.temp fix 'require blib' in scripts to also call 'blib->import', required to have an effect under perl 5.6.x. [Stas] don't allow running an explicit 'perl Makefile.PL', when Apache-Test is checked out into the modperl-2.0 tree, since it then decides that it's a part of the modperl-2.0 build and will try to use modperl httpd/apxs arguments which could be unset or wrong [Stas] Fix skip test suite functionality in the interactive configuration phase [Stas] s/die/CORE::die/ after exec() to avoid warnings (and therefore failures) when someone overrides CORE::die when using Apache-Test [William McKee, Stas] Overrode Module::Build's "testcover" action in Apache::TestMB to prevent the Apache::Test sticky preference files from being included in the coverage report. [David] 1.13 - Aug 20, 2004 move the custom config code into Apache::TestConfig, split the config object creation in 2 parts - first not requiring the knowledge of httpd location, the second requiring one, refactor the custom config interactive prompting into the second phase, if failed to find httpd. Reshuffle the code to run first bits not requiring the knowledge of httpd location. [Stas] fix Apache::TestCommonPost::lwp_do to work with LWP 5.800 ($res->content() doesn't allow CODE refs anymore, instead used content_ref to avoid huge strings copy) [Stas] add @PHP_MODULE@ extra.conf.in substitution variable, which selects mod_php4 or mod_php5 as appropriate. [Geoffrey Young] the have() function was removed entirely - use need() instead. [Geoffrey Young] add need() and need_* variant functions (need_module(), need_apache(), etc) for use specifically with plan() to decide whether or not a test should run. have_* variants (have_module(), have_apache(), etc) are now specifically for use outside of plan(), although they can continue to be used within plan() without fear of current tests breaking. [Geoffrey Young] add need_php() and have_php() which will return true when either mod_php4 or mod_php5 are available, providing functionality similar to need_cgi() and have_cgi(). [Geoffrey Young] Add APACHE_TEST_EXTRA_ARGS make variable to all invocations to t/TEST to allow passing extra arguments from the command line. [Gozer] When APACHE_TEST_NO_STICKY_PREFERENCES=1 is used don't even try to interactively configure the server, as we don't save any config it was entering an infinite loop. [Stas] If a directory t/lib exists from where the tests are run, adjust @INC so that this directory is added when running the tests, both within t/TEST and within t/conf/modperl_inc.pl. This allows inclusion of modules specific to the tests that aren't intended to be installed. [Stas, Randy] make a special case for threaded mpm configuration, to ensure that unless maxclients was specified, MaxClients will be exactly twice bigger than ThreadsPerChild (minclients), since if we don't do that, Apache will reduce MaxClients to the same value as ThreadsPerChild. [Stas] Renamed generate_test_script() to generate_script() in Apache::TestMB to match the naming convention used in Apache::TestMM and elsewhere. [David] Apache::TestMB now only prints the "Generating test running script" message if verbosity is enabled (e.g., by passing --verbose when executing Build.PL). [David] Fixed the "requests_redirectable" parameter to Apache::TestRequest::user_agent() so that it works as docmented when passed a negative value. [Boris Zentner] Documented support for passing an array reference to the "requests_redirectable" parameter to Apache::TestRequest::user_agent() to be passed to LWP::UserAgent if LWP ist installed. [David]
Diffstat (limited to 'www')
-rw-r--r--www/p5-Apache-Test/Makefile4
-rw-r--r--www/p5-Apache-Test/distinfo6
2 files changed, 5 insertions, 5 deletions
diff --git a/www/p5-Apache-Test/Makefile b/www/p5-Apache-Test/Makefile
index e10aee4c3e6..b806f177b11 100644
--- a/www/p5-Apache-Test/Makefile
+++ b/www/p5-Apache-Test/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/08/02 12:56:14 cube Exp $
+# $NetBSD: Makefile,v 1.2 2004/11/27 15:12:11 he Exp $
#
-DISTNAME= Apache-Test-1.12
+DISTNAME= Apache-Test-1.16
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5apt
CATEGORIES= www perl5
diff --git a/www/p5-Apache-Test/distinfo b/www/p5-Apache-Test/distinfo
index f42b826d063..af4d823a86d 100644
--- a/www/p5-Apache-Test/distinfo
+++ b/www/p5-Apache-Test/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/08/02 12:56:14 cube Exp $
+$NetBSD: distinfo,v 1.2 2004/11/27 15:12:11 he Exp $
-SHA1 (Apache-Test-1.12.tar.gz) = d0abc65bfd8257b19e7695569d50a0e2ac85e6c2
-Size (Apache-Test-1.12.tar.gz) = 120719 bytes
+SHA1 (Apache-Test-1.16.tar.gz) = a07767dc51d872ce53d029fabd2ac361abfea606
+Size (Apache-Test-1.16.tar.gz) = 137425 bytes