develooper Front page | perl.perl5.porters | Postings from August 2001

[PATCH perl@11523] fix Showlex.t for VMS

Thread Next
From:
Craig A. Berry
Date:
August 2, 2001 10:58
Subject:
[PATCH perl@11523] fix Showlex.t for VMS
Message ID:
5.1.0.14.0.20010802124618.034c5008@exchi01
This test has been failing in the test suite but succeeding out of it.  
Uncurling all of @INC onto the command line was making the backquoted 
command just a bit longer than the permitted 255 characters.  Apparently the 
test harness adds an item or two to @INC.  Luckily all we need is ../lib, 
though I don't know if that's true on all platforms so I made it VMS-specific.


--- ext/B/Showlex.t;-0  Mon Jul  9 09:09:51 2001
+++ ext/B/Showlex.t     Thu Aug  2 12:47:59 2001
@@ -22,6 +22,7 @@
 my $Is_MacOS = $^O eq 'MacOS';
 
 my $path = join " ", map { qq["-I$_"] } @INC;
+$path = '"-I../lib" "-Iperl_root:[lib]"' if $Is_VMS;   # gets too long otherwise
 my $redir = $Is_MacOS ? "" : "2>&1";
 my $is_thread = $Config{use5005threads} && $Config{use5005threads} eq 'define';
 
[end of patch]




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About