Bug 166758 - [patch] devel/p5-Perl-Metrics-Simple: fix tests
Summary: [patch] devel/p5-Perl-Metrics-Simple: fix tests
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-08 17:30 UTC by Rachel Flynn
Modified: 2012-04-22 15:00 UTC (History)
1 user (show)

See Also:


Attachments
devel__p5-Perl-Metrics-Simple.patch (2.69 KB, patch)
2012-04-08 17:30 UTC, Rachel Flynn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rachel Flynn 2012-04-08 17:30:13 UTC
The FreeBSD port for this module contains a customization that adds the
starting line number of a subroutine to the analyze hash.
The test data does not reflect this customization making the test fail.

Also, the test suite does not currently skip the availibility of
p5-Test-Pod-Coverage correctly, so a quick fix is to add the module to the
TEST_DEPENDS.

How-To-Repeat: cd /usr/ports/devel/p5-Perl-Metrics-Simple
make build
cd `make -V WRKSRC`
make test
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-04-08 17:30:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jun Kuriyama freebsd_committer freebsd_triage 2012-04-22 14:56:17 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-04-22 14:56:21 UTC
kuriyama    2012-04-22 13:56:09 UTC

  FreeBSD ports repository

  Modified files:
    devel/p5-Perl-Metrics-Simple Makefile 
  Added files:
    devel/p5-Perl-Metrics-Simple/files patch-TestData.pm 
  Log:
  - Add test depends and fix tests.
  
  PR:             ports/166758
  Submitted by    Mel Flynn <rflynn@acsalaska.net>
  
  Revision  Changes    Path
  1.2       +3 -0      ports/devel/p5-Perl-Metrics-Simple/Makefile
  1.1       +39 -0     ports/devel/p5-Perl-Metrics-Simple/files/patch-TestData.pm (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"