Revision: 1437
Author: [email protected]
Date: Wed Dec 26 08:37:24 2012
Log: Fixed so tests ignore sitecustomize.pl, RT#79784
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1437
Modified:
/trunk/Changes
/trunk/t/lib/NYTProfTest.pm
=======================================
--- /trunk/Changes Wed Dec 26 07:56:17 2012
+++ /trunk/Changes Wed Dec 26 08:37:24 2012
@@ -13,6 +13,8 @@
Fixed to work with perl v5.17+, specifically string eval
changes and hash randomization.
+ Fixed so tests ignore sitecustomize.pl, RT#79784
+ thanks to [email protected].
Corrected spelling thanks to Alessandro Ghedini @debian RT80370
=======================================
--- /trunk/t/lib/NYTProfTest.pm Thu Mar 22 09:00:59 2012
+++ /trunk/t/lib/NYTProfTest.pm Wed Dec 26 08:37:24 2012
@@ -379,7 +379,8 @@
sub profile {
my ($test, $profile_datafile) = @_;
- my $cmd = "$perl $opts{profperlopts} $test";
+ my @perl = perl_command_words(skip_sitecustomize => 1);
+ my $cmd = "@perl $opts{profperlopts} $test";
return ok run_command($cmd), "$test runs ok under the profiler";
}
--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]