Commit graph

31 commits

Author SHA1 Message Date
wiz
16ef57a460 Add CONFLICTS with p5-Test-Builder-Tester, which is now included. 2005-11-22 23:07:18 +00:00
wiz
7d7fffed75 Update to 0.62:
0.62  Sat Oct  8 01:25:03 PDT 2005
    * Aborbed Test::Builder::Tester.  The last release broke it because its
      screen scraping Test::More and the failure output changed.  By
      distributing them together we ensure TBT won't break again.
    * Test::Builder->BAILOUT() was missing.
    - is_deeply() can now handle function and code refs in a very limited
      way.  It simply looks to see if they have the same referent.
      [rt.cpan.org 14746]

0.61  Fri Sep 23 23:26:05 PDT 2005
    - create.t was trying to read from a file before it had been closed
      (and thus the changes may not have yet been written).
    * is_deeply() would call stringification methods on non-object strings
      which happened to be the name of a string overloaded class.
      [rt.cpan.org 14675]

0.60_02  Tue Aug  9 00:27:41 PDT 2005
    * Added Test::Builder::Module.
    - Changed Test::More and Test::Simple to use Test::Builder::Module
    - Minor Win32 testing nit in fail-more.t
    * Added no_diag() method to Test::Builder and changed Test::More's
      no_diag internals to use that. [rt.cpan.org 8655]
    * Deprecated no_diag() as an option to "use Test::More".  Call the
      Test::Builder method instead.

0.60_01  Sun Jul  3 18:11:58 PDT 2005
    - Moved the docs around a little to better group all the testing
      functions together. [rt.cpan.org 8388]
    * Added a BAIL_OUT() function to Test::More [rt.cpan.org 8381]
    - Changed Test::Builder->BAILOUT to BAIL_OUT to match other method's
      naming conventions.  BAILOUT remains but is deprecated.
    * Changed the standard failure diagnostics to include the test name.
      [rt.cpan.org 12490]
    - is_deeply() was broken for overloaded objects in the top level in
      0.59_01.  [rt.cpan.org 13506]
    - String overloaded objects without an 'eq' or '==' method are now
      handled in cmp_ok() and is().
    - cmp_ok() will now treat overloaded objects as numbers if the comparison
      operator is numeric. [rt.cpan.org 13156]
    - cmp_ok(), like() and unlike will now throw uninit warnings if their
      arguments are undefined. [rt.cpan.org 13155]
    - cmp_ok() will now throw warnings as if the comparison were run
      normally, for example cmp_ok(2, '==', 'foo') will warn about 'foo'
      not being numeric.  Previously all warnings in the comparison were
      supressed. [rt.cpan.org 13155]
    - Tests will now report *both* the number of tests failed and if the
      wrong number of tests were run.  Previously if tests failed and the
      wrong number were run it would only report the latter.
      [rt.cpan.org 13494]
    - Missing or extra tests are not considered failures for the purposes
      of calculating the exit code.  Should there be no failures but the
      wrong number of tests the exit code will be 254.
    - Avoiding an unbalanced sort in eq_set() [bugs.perl.org 36354]
    - Documenting that eq_set() doesn't deal well with refs.
    - Clarified how is_deeply() compares a bit.
    * Once again working on 5.4.5.

0.60  Tue May  3 14:20:34 PDT 2005

0.59_01  Tue Apr 26 21:51:12 PDT 2005
    * Test::Builder now has a create() method which allows you to create
      a brand spanking new Test::Builder object.
    * require_ok() was not working for single letter module names.
    * is_deeply() and eq_* now work with circular scalar references
      (Thanks Fergal)
    * Use of eq_* now officially discouraged.
    - Removed eq_* from the SYNOPSIS.
    - is_deeply(undef, $not_undef); now works. [rt.cpan.org 9441]
    - is_deeply() was mistakenly interpeting the same reference used twice
      in a data structure as being circular causing failures.
      [rt.cpan.org 11623]
    - Loading Test::Builder but not using it would interfere with the
      exit code if the code exited. [rt.cpan.org 12310]
    - is_deeply() diagnostics now disambiguate between stringified references
      and references. [rt.cpan.org 8865]
    - Files opened by the output methods are now autoflushed.
    - todo() now honors $Level when looking for $TODO.
2005-11-22 21:55:55 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
wiz
7009556429 Do not include p5-Test-Harness/depends.mk -- current perl package is sufficient. 2005-07-14 13:25:41 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
wiz
58d409deef Update to 0.54:
0.54  Wed Dec 15 04:18:43 EST 2004
    * $how_many is optional for skip() and todo_skip().  Thanks to
      Devel::Cover for pointing this out.
    - Removed a user defined function called err() in the tests to placate
      users of older versions of the dor patch before err() was weakend.
      [rt.cpan.org 8734]

0.53_01  Sat Dec 11 19:02:18 EST 2004
    - current_test() can now be set backward.
    - *output() methods now handle tied handles and *FOO{IO} properly.
    - maybe_regex() now handles undef gracefully.
    - maybe_regex() now handles 'm,foo,' style regexes.
    - sort_bug.t wasn't checking for threads properly.  Would fail on
      5.6 that had ithreads compiled in. [rt.cpan.org 8765]

0.53  Mon Nov 29 04:43:24 EST 2004
    - Apparently its possible to have Module::Signature installed without
      it being functional.  Fixed the signature test to account for this.
      (not a real bug)

0.52  Sun Nov 28 21:41:03 EST 2004
    - plan() now better checks that the given plan is valid.
      [rt.cpan.org 2597]

0.51_02  Sat Nov 27 01:25:25 EST 2004
    * is_deeply() and all the eq_* functions now handle circular data
      structures.  [rt.cpan.org 7289]
    * require_ok() now handles filepaths in addition to modules.
    - Clarifying Test::More's position on overloaded objects
    - Fixed a bug introduced in 0.51_01 causing is_deeply() to pierce
      overloaded objects.
    - Mentioning rt.cpan.org for reporting bugs.

0.51_01  Fri Nov 26 02:59:30 EST 2004
    - plan() was accidentally exporting functions [rt.cpan.org 8385]
    * diag @msgs would insert # between arguments. [rt.cpan.org 8392]
    * eq_set() could cause problems under threads due to a weird sort bug
      [rt.cpan.org 6782]
    * undef no longer equals '' in is_deeply() [rt.cpan.org 6837]
    * is_deeply() would sometimes compare references as strings.
      [rt.cpan.org 7031]
    - eq_array() and eq_hash() could hold onto references if they failed
      keeping them in memory and preventing DESTROY.  [rt.cpan.org 7032]
    * is_deeply() could confuse [] with a non-existing value
      [rt.cpan.org 7030]
    - is_deeply() diagnostics a little off when scalar refs were inside
      an array or hash ref [rt.cpan.org 7033]
    - Thanks to Fergal Daly for ferretting out all these long standing
      is_deeply and eq_* bugs.

0.51  Tue Nov 23 04:51:12 EST 2004
    - Fixed bug in fail_one.t on Windows (not a real bug).
    - TODO reasons as overloaded objects now won't blow up under threads.
      [Autrijus Tang]
    - skip() in 0.50 tickled yet another bug in threads::shared.  Hacked
      around it.

0.50  Sat Nov 20 00:28:44 EST 2004
    - Fixed bug in fail-more test on Windows (not a real bug).
      [rt.cpan.org 8022]
    - Change from CVS to SVK.  Hopefully this is the last time I move
      version control systems.
    - Again removing File::Spec dependency (came back in 0.48_02)
    - Change from Aegis back to CVS

0.49  Thu Oct 14 21:58:50 EDT 2004
    - t/harness_active.t would fail for frivolous reasons with older
      MakeMakers (test bug) [thanks Bill Moseley for noticing]

0.48_02  Mon Jul 19 02:07:23 EDT 2004
    * Overloaded objects as names now won't blow up under threads
      [rt.cpan.org 4218 and 4232]
    * Overloaded objects which stringify to undef used as test names
      now won't cause internal uninit warnings. [rt.cpan.org 4232]
    * Failure diagnostics now come out on their own line when run in
      Test::Harness.
    - eq_set() sometimes wasn't giving the right results if nested refs
      were involved [rt.cpan.org 3747]
    - isnt() giving wrong diagnostics and warning if given any undefs.
    * Give unlike() the right prototype [rt.cpan.org 4944]
    - Change from CVS to Aegis
    - is_deeply() will now do some basic argument checks to guard against
      accidentally passing in a whole array instead of its reference.
    - Mentioning Test::Differences, Test::Deep and Bundle::Test.
    - Removed dependency on File::Spec.
    - Fixing the grammar of diagnostic outputs when only a single test
      is run or failed (ie. "Looks like you failed 1 tests").
      [Darren Chamberlain]

0.48_01  Mon Nov 11 02:36:43 EST 2002
    - Mention Test::Class in Test::More's SEE ALSO
    * use_ok() now DWIM for version checks
    - More problems with ithreads fixed.
    * Test::Harness upgrade no longer optional.  It was causing too
      many problems when the T::H upgrade didn't work.
    * Drew Taylor added a 'no_diag' option to Test::More to switch
      off all diag() statements.
    * Test::Builder/More no longer automatically loads threads.pm
      when threads are enabled.  The user must now do this manually.
    * Alex Francis added reset() reset the state of Test::Builder in
      persistent environments.
    - David Hand noted that Test::Builder/More exit code behavior was
      not documented.  Only Test::Simple.
2005-02-19 18:43:30 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
grant
b2e0fa4a11 move the p5-Test-Harness DEPENDS to p5-Test-Harness where it belongs,
so any package requiring it can DTRT.
2004-05-08 04:05:58 +00:00
grant
c950a3844c allow perl{,-thread}>=5.8.3 to satisfy the p5-Test-Harness dependency.
Test::Harness is included in perl>=5.8.3, and for that reason,
p5-Test-Harness has a CONFLICT on perl>=5.8.3 which was blocking many
packages from being installed.
2004-05-07 11:30:39 +00:00
kim
fbec29cc42 Undo previous (this installs in site_perl). 2004-05-01 16:29:37 +00:00
kim
756eaaa134 Add a conflict with perl 5.8.3 and later. 2004-05-01 16:05:18 +00:00
jlam
23c06e39b8 This packages doesn't use the compiler. 2004-03-31 01:53:01 +00:00
jlam
848d6eb2a3 bl3ify 2004-01-05 22:16:24 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jlam
42e0d6d403 Always install into site_perl, never into the main perl directory. 2002-10-21 07:31:21 +00:00
shell
4e00858107 Updated to Test-Simple-0.47
- use buildlink2

Changes :
0.47  Mon Aug 26 03:54:22 PDT 2002
    * Tatsuhiko Miyagawa noticed Test::Builder was accidentally storing
      objects passed into test functions causing problems with tests
      relying on object destruction.
    - Added example of calculating the number of tests to Test::Tutorial
    - Peter Scott made the ending logic not fire on child processes when
      forking.
    * Test::Builder is once again ithread safe.

0.46  Sat Jul 20 19:57:40 EDT 2002
    - Noted eq_set() isn't really a set comparision.
    - Test fix, exit codes are broken on MacPerl (bleadperl@16868)
    - Make Test::Simple install itself into the core for >= 5.8
    - Small fixes to Test::Tutorial and skip examples
    * Added TB->has_plan() from Adrian Howard
    - Clarified the meaning of 'actual_ok' from TB->details
    * Added TB->details() from chromatic
    - Neil Watkiss fixed a pre-5.8 test glitch with threads.t
    * If the test died before a plan, it would exit with 0 [ID 20020716.013]

0.45  Wed Jun 19 18:41:12 EDT 2002
    - Andy Lester made the SKIP & TODO docs a bit clearer.
    - Explicitly disallowing double plans. (RT #553)
    - Kicking up the minimum version of Test::Harness to one that's
      fairly bug free.
    - Made clear a common problem with use_ok and BEGIN blocks.
    - Arthur Bergman made Test::Builder thread-safe.
2002-10-20 03:16:04 +00:00
shell
4ebf3ba4db Updated to p5-Test-Simple-0.44
Changes since p5-Test-Simple-0.43 :
- names containing newlines no longer produce confusing output
  (from chromatic)
- chromatic provided a fix so can_ok() honors can() overrides.
- Nick Ing-Simmons suggested todo_skip() be a bit clearer about
  the skipping part.
- Making plan() vomit if it gets something it doesn't understand.
- Tatsuhiko Miyagawa fixed use_ok() with pragmata on older perls.
- quieting diag(undef)
2002-04-27 08:06:21 +00:00
shell
2b0329a77b Updated to p5-Test-Simple-0.43
- change to my email address


Changes since p5-Test-Simple-0.42
- Adrian Howard added TB->maybe_regex()
- Adding Mark Fowler's suggestion to make diag() return
  false.
- TB->current_test() still not working when no tests were run via
  TB itself.  Fixed by Dave Rolsky.
2002-04-17 11:49:21 +00:00
martti
61da464654 Updated p5-Test-Simple (provided by Shell Hung in pkg/15926)
- Setting Test::Builder->current_test() now works (see what happens
  when you forget to test things?)
- The change in is()'s undef/'' handling in 0.34 was an API change,
  but I forgot to declare it as such.
- The apostrophilic jihad attacks!  Philip Newtons patch for
  grammar mistakes in the doc's.
2002-03-15 12:31:46 +00:00
martti
431c606007 Updated p5-Test-Simple to 0.41 (provided by Shell Hung in pkg/15325)
- chromatic added diag()
- fixed bug for internal eval()'s sometimes interfering
  with $@ and $!
2002-01-26 06:55:55 +00:00
martti
7d545c58aa Updated to 0.40 (provided by Shell Hung in pkg/14991)
- isa_ok() now accepts unblessed references gracefully
- exit.t was hanging on 5.005_03 VMS perl.  Test now skipped.
- can_ok() would pass if no methods were given.  Now fails.
- isnt() diagnostic output format changed
- Added Test::More->builder
- Added cmp_ok(), todo_skip(), unlike()
2001-12-19 06:49:34 +00:00
martti
4be341f2d3 Updated to 0.36 (provided by Shell Hung in pkg/14785)
Changes :
- Empty string no longer matches undef in is() and isnt()
- Added isnt_eq and isnt_num to Test::Builder
- Little glitch in the test suite.
- fixed intermixed prints to STDOUT and test output came
  out in the wrong order when piped
2001-12-10 15:42:43 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
martti
85d4a6baf7 Updated to version 0.33 (PR#14511). Changes since 0.17:
* It's now officially safe to redirect STDOUT and STDERR without
      affecting test output.
    - License and POD cleanup by Autrijus Tang
    - Synched up Test::Tutorial with the wiki version
    - Minor VMS test nit.
    * Finally added a seperate plan() function
    * Adding a name field to isa_ok()
      (Requested by Dave Rolsky)
    - Test::More was using Carp.pm, causing the occasional false positive.
      (Reported by Tatsuhiko Miyagawa)
    * Added Test::Builder
      (Thanks muchly to chromatic for getting this off the ground!)
    * Diagnostics are back to using STDERR *unless* it's from a todo
      test.  Those go to STDOUT.
    - Fixed it so nothing is printed if a test is run with a -c flag.
      Handy when a test is being deparsed with B::Deparse.
    * Test::Simple and Test::More no longer print their diagnostics
      to STDERR.  It instead goes to STDOUT.
    * TODO tests which fail now print full failure diagnostics.
    - Minor bug in ok()'s test name diagnostics made it think a blank
      name was a number.
    - ok() less draconian about test names
    - Added temporary special case for Parrot::Test
    - Now requiring File::Spec for our tests.
    * ***API CHANGE*** can_ok() only counts as one test
    - can_ok() has better diagnostics
    - Minor POD fixes from mjd
    - adjusting the internal layout to make it easier to put it into
      the core
2001-11-22 09:37:56 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
0cec9f63e0 Change foo-* dependencies into foo-[0-9]* dependencies so we match only
those packages with a base package name of "foo".
2001-09-27 07:36:12 +00:00
jlam
b3311d9d3a p5-Test-Simple - perl5 module with a simple framework for writing tests
This is an extremely simple, extremely basic module for writing tests
suitable for CPAN modules and other pursuits.  If you wish to do more
complicated testing, use the Test::More module (a drop-in replacement
for this one).

Provided in pkg/13846 by Sen Nagata <sen@eccosys.com>.
2001-09-27 04:37:07 +00:00