# New Ticket Created by  Bruce Gray 
# Please include the string:  [perl #76680]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76680 >


$ git show | head -1
commit 6442956542337f1d2d744d4b5ba621ce73a1e5af

In build/Makefile.in, the target "coretest" sets PARROT as an ENV  
variable,
because t/02-embed/01-load.t needs to know the path to the parrot  
executable.
        PARROT=$(PARROT) $(PERL) t/harness t/00-parrot t/02-sanity t/02-embed

The method used to set PARROT is unix-specific, and fails under Win32.
Worse, since it is invalid syntax, the coretest target does not even  
start to run.
Since the `test` target depends on coretest, `make test` will also  
fail to start on Win32.

The spectest target is not dependent on coretest,
which is probably why this problem has not shown up in Smolder.

Solution:
1. In the Makefile, revert the code that added the "PARROT=$(PARROT)"  
prefix to the coretest target's command.
2. In t/02-embed/01-load.t, add code to build parrot's full path from  
$*VM<config>.

The attached patch is ready to push into the Rakudo master repo.
I will not push until after IRC discussion&agreement, since we are so  
close to Rakudo release.

After release, we should consider making spectest_smolder depend on  
coretest.


Attachment: coretest_env_bugfix.patch
Description: Binary data


-- 
Hope this helps,
Bruce Gray (Util)

Reply via email to