[svn:parrot] r46706 - trunk/compilers/pct/src/PCT

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Sun May 16 15:43:28 UTC 2010


Author: pmichaud
Date: Sun May 16 15:43:28 2010
New Revision: 46706
URL: https://trac.parrot.org/parrot/changeset/46706

Log:
[pct]:  Add a better note to PCT::HLLCompiler explaining the @INC
workaround for older Perl 5 Test::Harness.  sorear++

Modified:
   trunk/compilers/pct/src/PCT/HLLCompiler.pir

Modified: trunk/compilers/pct/src/PCT/HLLCompiler.pir
==============================================================================
--- trunk/compilers/pct/src/PCT/HLLCompiler.pir	Sun May 16 15:38:52 2010	(r46705)
+++ trunk/compilers/pct/src/PCT/HLLCompiler.pir	Sun May 16 15:43:28 2010	(r46706)
@@ -805,9 +805,11 @@
 
     ## this bizarre piece of code causes the compiler to
     ## immediately abort if it looks like it's being run
-    ## from Perl's Test::Harness.  We expect to remove this
-    ## check eventually (or make it a lot smarter than it
-    ## is here).
+    ## from Perl's Test::Harness.  (Test::Harness versions 2.64
+    ## and earlier have a hardwired commandline option that is
+    ## always passed to an initial run of the interpreter binary,
+    ## whether you want it or not.)  We expect to remove this 
+    ## check eventually (or make it a lot smarter than it is here).
     $S0 = args[2]
     $I0 = index $S0, '@INC'
     if $I0 < 0 goto not_harness


More information about the parrot-commits mailing list