On 29/03/2008, James Keenan via RT <[EMAIL PROTECTED]> wrote:
> On Fri Mar 28 21:03:12 2008, [EMAIL PROTECTED] wrote:
>  > Parrot::Test uses the full path of the test script to determine which
>  > optimization flags to pass parrot.  The method used causes the bogus
>  > optimization value '/' to be extracted when running the tests in
>  > /opt/foo as the character immediately following 'opt' is '/'.
>  >
>  > The relevant code is lines 767 - 786 of lib/Parrot/Test.pm (r26609).
>  >
>
>
>
> If we simply add a forward slash after 'opt', does that solve the
>  problem?  (see attached)

[patch snipped]

Then it simply grabs 's' and passes parrot '-Os'.  With my source tree
location, $code_f ends up as /opt/src/perl6/svn/parrot/t/foo/test.t


-- 
Seneca Cunningham
<[EMAIL PROTECTED]>

Reply via email to