Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 79784
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: JACOB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 4.09
Fixed in: (no value)



Subject: make test fails with sitecustomize.pl
Download (untitled) / with headers
text/plain 630b
On Perl installations that use a sitecustomize.pl (e.g. CitrusPerl) the tests will fail because the collected profiling data will not match the expected data. About sitecustomize.pl: http://www.nntp.perl.org/group/perl.perl5.porters/2007/10/msg129926.html Problem seems to be that profile() in NYTProfTest.pm does NOT use perl_command_words(skip_sitecustomize => 1) (as does run_perl_command()) but just $perl. Changing line 382 as follows fixes that: my @perl = perl_command_words(skip_sitecustomize => 1); my $cmd = "@perl $opts{profperlopts} $test"; instead of my $cmd = "$perl $opts{profperlopts} $test";
Fixed as suggested. Thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.