Modified:
trunk/Changes
trunk/t/lib/NYTProfTest.pm
Log:
Fixed to use correct scripts during test and so avoid permissions
issues, thanks to David Golden.
Modified: trunk/Changes
==============================================================================
--- trunk/Changes (original)
+++ trunk/Changes Fri Jun 5 05:54:38 2009
@@ -9,6 +9,8 @@
Fixed call count for XSubs that was one too high.
Fixed enable_profile() after fork thanks to delamonpansie
http://code.google.com/p/perl-devel-nytprof/issues/detail?id=15
+ Fixed to use correct scripts during test and so avoid permissions
+ issues, thanks to David Golden.
Changed enable_profile() to discard the time spent since
profile was disabled.
Modified: trunk/t/lib/NYTProfTest.pm
==============================================================================
--- trunk/t/lib/NYTProfTest.pm (original)
+++ trunk/t/lib/NYTProfTest.pm Fri Jun 5 05:54:38 2009
@@ -59,7 +59,7 @@
if (-d '../blib') {
unshift @INC, '../blib/arch', '../blib/lib';
}
-my $bindir = (grep {-d} qw(./bin ../bin))[0];
+my $bindir = (grep {-d} qw(./blib/script ../blib/script))[0];
my $nytprofcsv = "$bindir/nytprofcsv";
my $nytprofhtml = "$bindir/nytprofhtml";