head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.40 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.38 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.36 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.34 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.32 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.30 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.28 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.26 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.24 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.22 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.20 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.18 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.16 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.14 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.12 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.10 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.8 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.6 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.4 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.12 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.10 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2005.07.14.13.26.24; author wiz; state dead; branches; next 1.4; 1.4 date 2004.01.18.22.09.14; author heinz; state Exp; branches; next 1.3; 1.3 date 2002.10.20.03.12.36; author shell; state Exp; branches; next 1.2; 1.2 date 2002.01.18.22.42.28; author mjl; state Exp; branches; next 1.1; 1.1 date 2001.09.27.04.26.49; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.09.27.04.26.49; author jlam; state Exp; branches; next ; desc @@ 1.5 log @Remove p5-Test-Harness -- included in current perl package. @ text @$NetBSD: patch-aa,v 1.4 2004/01/18 22:09:14 heinz Exp $ --- Makefile.PL.orig Thu Nov 13 00:17:11 2003 +++ Makefile.PL @@@@ -12,7 +12,6 @@@@ my %parms = ( NAME => "Test::Harness", VERSION_FROM => "lib/Test/Harness.pm", PREREQ_PM => { File::Spec => 0.6 }, - INSTALLDIRS => 'perl', clean => { FILES => join( " ", FLAG_SKIP_PROVE, 'Test-Harness-*', '*~' ) }, ); @ 1.4 log @Update to 2.40. Added HOMEPAGE. Changes since 2.28: 2.40 Tue Dec 30 20:38:59 CST 2003 [FIXES] * Test::Harness::Straps should now properly quote on VMS. [ENHANCEMENTS] * prove now takes a -l option to add lib/ to @@INC. Now when you're building a module, you don't have to do a make before you run the prove. Thanks to David Wheeler for the idea. [INTERNALS] * Internal functions corestatus() and canonfailed() prepended with underscores, to indicate such. * Gratuitous text-only changes in Test::Harness::Iterator. * All tests now do their use_ok() in a BEGIN block. Some of the use_ok() calls were too much of a hassle to put into a BEGIN block, so I changed them to regular use calls. 2.38 Mon Nov 24 22:36:18 CST 2003 Released. See changes below. 2.37_03 Tue Nov 18 23:51:38 CST 2003 [ENHANCEMENTS] * prove -V now shows the Perl version being used. * Now there's a HARNESS_DEBUG flag that shows diagnostics as the harness runs the tests. This is different from HARNESS_VERBOSE, which shows test output, but not information about the harness itself. * Added _command_line() to the Strap API. [FIXES] * Bad interaction with Module::Build: The strap was only checking $ENV{HARNESS_PERL_SWITCHES} for definedness, but not emptiness. It now also strips any leading or trailing whitesapce from the switches. * Test::Harness and prove only quote those parms that actually need to be quoted: Have some whitespace and aren't already quoted. 2.36 Fri Nov 14 09:24:44 CST 2003 [FIXES] * t/prove-includes.t properly ignores PROVE_SWITCHES that you may already have set. 2.35_02 Thu Nov 13 09:57:36 CST 2003 [ENHANCEMENTS] * prove's --blib now works just like the blib pragma. 2.35_01 Wed Nov 12 23:08:45 CST 2003 [FIXES] * Fixed taint-handling and path preservation under MacOS. Thanks to Schwern for the patch and the tests. * Preserves case of -t or -T in the shebang line of the test. [ENHANCEMENTS] * Added -t to prove analogous to Perl's -t. Removed the --taint switch. * prove can take default options from the PROVE_SWITCHES variable. * Added HARNESS_PERL to allow you to specify the Perl interpreter to run the tests as. * prove's --perl switch sets the HARNESS_PERL on the fly for you. * Quotes the switches and filename in the subprogram. This helps with filenames with spaces that are subject to shell mangling. 2.34 Sat Nov 8 22:09:15 CST 2003 [FIXES] * Allowed prove to run on Perl versions < 5.6.0. [ENHANCEMENTS] * Command-line switches to prove may now be stacked. * Added check for proper Pod::Usage version. * "make clean" does a better job of cleaning up after itself. 2.32 Fri Nov 7 09:41:21 CST 2003 Test::Harness now includes a powerful development tool to help programmers work with automated tests. The prove utility runs test files against the harness, like a "make test", but with many advantages: * prove is designed as a development tool Perl users typically run the test harness through a makefile via "make test". That's fine for module distributions, but it's suboptimal for a test/code/debug development cycle. * prove is granular prove lets your run against only the files you want to check. Running "prove t/live/ t/master.t" checks every *.t in t/live, plus t/master.t. * prove has an easy verbose mode To get full test program output from "make test", you must set "HARNESS_VERBOSE" in the environment. prove has a "-v" option. * prove can run under taint mode prove's "-T" runs your tests under "perl -T". * prove can shuffle tests You can use prove's "--shuffle" option to try to excite problems that don't show up when tests are run in the same order every time. * Not everything is a module More and more users are using Perl's testing tools outside the context of a module distribution, and may not even use a makefile at all. Prove requires Pod::Usage, which is standard after Perl 5.004. I'm very excited about prove, and hope that developers will begin adopting it to their coding cycles. I welcome your comments at andy@@petdance.com. There are also some minor bug fixes in Test::Harness itself, listed below in the 2.31_* notes. 2.31_05 Thu Nov 6 14:56:22 CST 2003 [FIXES] - If a MacPerl script had a shebang with -T, the -T wouldn't get passed as a switch. - Removed the -T on three *.t files, which didn't need them, and which were causing problems. - Conditionally installs bin/prove, depending on whether Pod::Usage is available, which prove needs. - Removed old leftover code from Makefile.PL. 2.31_04 Mon Nov 3 23:36:06 CST 2003 Minor tweaks here and there, almost ready to release. 2.31_03 Mon Nov 3 08:50:36 CST 2003 [FEATURES] - prove is almost feature-complete. Removed the handling of --exclude for excluding certain tests. It may go back in the future. - prove -d is now debug. Dry is prove -D. 2.31_02 Fri Oct 31 23:46:03 CST 2003 [FEATURES] - Added many more switches to prove: -d for dry run, and -b for blib. [FIXES] - T:H:Straps now recognizes MSWin32 in $^0. - RT#3811: Could do regex matching on garbage in _is_test(). Fixed by Yves Orton - RT#3827: Strips backslashes from and normalizes @@INC entries for Win32. Fixed by Yves Orton. [INTERNALS] - Added $self->{_is_macos} to the T:H:Strap object. - t/test-harness.t sorts its test results, rather than relying on internal key order. 2.31_01 [FEATURES] - Added "prove" script to run a test or set of tests through the harness. Thanks to Curtis Poe for the foundation. [DOCUMENTATION] - Fixed POD problem in Test::Harness::Assert 2.30 Thu Aug 14 20:04:00 CDT 2003 No functional changes in this version. It's only to make some doc tweaks, and bump up the version number in T:H:Straps. [DOCUMENTATION] - Changed Schwern to Andy as the maintainer. - Incorporated the TODO file into Harness.pm proper. - Cleaned up formatting in Test::Harness::Straps. 2.29 Wed Jul 17 14:08:00 CDT 2003 - Released as 2.29. 2.28_91 Sun Jul 13 00:10:00 CDT 2003 [ENHANCEMENTS] - Added support for HARNESS_OK_SLOW. This will make a significant speedup for slower connections. - Folded in some changes from bleadperl that spiff up the failure reports. [INTERNALS] - Added some isa_ok() checks to the tests. - All Test::Harness* modules are used by use_ok() - Fixed the prototype for the canonfailed() function, not that it matters since it's never called without parens. 2.28_90 Sat Jul 05 20:21:00 CDT 2003 [ENHANCEMENTS] - Now, when you run a test harnessed, the numbers don't fly by one at a time, one update per second. This significantly speeds up the run time for running thousands of tests. *COUGH* Regexp::Common *COUGH* @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Updated to p5-Test-Harness-2.26 Changes : 2.26 Wed Jun 19 16:58:02 EDT 2002 - Workaround for MacPerl's lack of a working putenv. It will never see the PERL5LIB environment variable (perl@@16942). 2.25 Sun Jun 16 03:00:33 EDT 2002 - $Strap is now a global to allow Test::Harness::Straps experimentation. - Little spelling nit in a diagnostic. - Chris Richmond noted that the runtests() docs were wrong. It will die, not return false, when any tests fail. This is silly, but historically necessary for 'make test'. Docs corrected. - MacPerl test fixes from Pudge. (mutation of bleadperl@@16989) - Undef warning introduced in 2.24 on skipped tests with no reasons fixed. * Test::Harness now depends on File::Spec @ text @d3 1 a3 1 --- Makefile.PL.orig Sun Oct 20 11:10:36 2002 d5 3 a7 3 @@@@ -35,7 +35,6 @@@@ WriteMakefile( NAME => $PACKAGE, VERSION_FROM => "lib/$PACKAGE_FILE.pm", # finds $VERSION d10 1 a12 1 @ 1.2 log @Update p5-Test-Harness to 2.01. - Added Test::Harness::Straps - Partial gutting of the internals - analyze_file() is more portable - Test #1 is now element 0 on the details array - Little bug in the skip 'various reasons' logic fixed - Wasn't filtering @@INC properly when a test is run with -T - analyze() now considers "not \nok" to be a failure but Test::Harness still doesn't - Made sure filehandles are getting closed - Fixed a warning on VMS - Removed a little unnecessary code from analyze_file() - some POD changes. Fixes PR/15042 by Shell Hung. @ text @d3 1 a3 1 --- Makefile.PL.orig Tue Jan 8 17:03:18 2002 d5 1 a5 1 @@@@ -35,7 +35,6 @@@@ d8 1 a8 1 PREREQ_PM => { }, @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- Makefile.PL.orig Wed May 23 14:25:38 2001 d10 3 a12 3 'dist' => { COMPRESS => 'gzip -9', SUFFIX => '.gz', DIST_DEFAULT => 'all tardist', @ 1.1.1.1 log @devel/p5-Test-Harness - run perl standard test scripts with statistics. Provided in pkg/13845 by Sen Nagata with some fixes by me to install into ${PERL5_SITEARCH} instead of mixing the module with the standard perl library in ${PERL5_ARCHLIB}. @ text @@