Suggestions on failure of 'make test'?

Kevin Ballard eridius at macports.org
Sat Jun 16 02:23:22 PDT 2007


Turns out [info script] returns a different value when used inside a  
sub-interpreter. I didn't catch this before because I only ran the  
tests after adding that code from within the same directory as the file.

I've committed a fix in r26223.

On Jun 15, 2007, at 9:19 AM, Glen Whitney wrote:

> I can see the line of code in src/port1.0/tests/portutil.tcl which  
> is failing:
>
> source [file dirname [info script]]/../portutil.tcl
>
> at line 73, but it's the same as a line of code earlier in the file  
> (line 9) which ran fine, and I don't see that the current directory  
> changed before hitting this line.  Also, since I didn't touch  
> portutil.tcl, I don't think my changes have caused this failure.   
> On the other hand, I of course don't want to check in anything when  
> "make test" is not working.   Any suggestions?

-- 
Kevin Ballard
http://kevin.sb.org
eridius at macports.org
http://www.tildesoft.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-dev/attachments/20070616/14237a4c/attachment.html


More information about the macports-dev mailing list