[perl-devel-nytprof commit] r751 - Fixed to use correct scripts during test and so avoid permissions

1 view
Skip to first unread message

codesite...@google.com

unread,
Jun 5, 2009, 8:55:34 AM6/5/09
to develnyt...@googlegroups.com
Author: tim.bunce
Date: Fri Jun 5 05:54:38 2009
New Revision: 751

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";

Reply all
Reply to author
Forward
0 new messages