Skip Menu |

This queue is for tickets about the InSilicoSpectro CPAN distribution.

Report information
The Basics
Id: 17714
Status: resolved
Priority: 0/
Queue: InSilicoSpectro

People
Owner: Nobody in particular
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.9.14
Fixed in: 0.9.20



Subject: tests fail when perl interpretter isn't first "perl" in PATH
My perl interpretter isn't called "perl". Actually, there is something in my PATH called "perl" but it isn't the perl interpretter. As per the MakeMaker standard, I use an explicit path to my specific perl interpretter when I run Makefile.PL: /usr/bin/perl5.8.1 Makefile.PL PERL=/usr/bin/perl5.8.1 'make' succeeds, but then I get many failures during 'make test' from InSilico.t, Spectra.t, and Utils.t because they do system("perl"). This call needs to be written to use alternative perl interpretters. Two possible solutions: 1. The tests could literally use "the one that I told it to use". Have 'make' patch it. 2. The tests could look up the path of the interpretter that is running the test (which is set correctly by MakeMaker in Makefile). This information is available in Config.pm, and so is an easy fix: just use "$Config{startperl}" insead of "perl".