develooper Front page | perl.perl5.porters | Postings from September 2000

[PATCH (or RFC): 5.7.0] make the ran_tests intermediate file 8.3friendly

From:
Peter Prymmer
Date:
September 8, 2000 11:00
Subject:
[PATCH (or RFC): 5.7.0] make the ran_tests intermediate file 8.3friendly
Message ID:
Pine.OSF.4.10.10009081054340.132461-100000@aspara.forte.com

Hi,

I would like to add t/ran_tests handling to the VMS Makefile, but when I
looked at the current implementation I realized that at 9 characters the
generated file is just over the 8.3 limitation of DOS/FAT16. Hence I
propose the following modification to the only two files that currently
mention this generated marker file: Makefile.SH and installperl.  I would
appreciate hearing if this works OK on DOS/djgpp - bash, GNU make, gcc et
alia; and also if this is deemed acceptable to the 5.7.0 codeline since my
modifications to vms/descrip_mms.template will need to distinguish the
proposed '[.t]rantests.' from the "current" '[.t]ran_tests.' Thanks in
advance for any feedback.

Peter Prymmer

diff -ru perl-5.7.0.orig/Makefile.SH perl-5.7.0/Makefile.SH
--- perl-5.7.0.orig/Makefile.SH	Mon Aug 28 18:05:57 2000
+++ perl-5.7.0/Makefile.SH	Fri Sep  8 09:40:11 2000
@@ -730,7 +730,7 @@
 	done
 
 _cleaner2:
-	rm -f core core.*perl.*.? *perl.core t/core t/core.perl.*.? t/*perl.core t/misctmp* t/forktmp* t/tmp* t/c t/perl t/ran_tests .?*.c so_locations $(LIBPERL_NONSHR) $(MINIPERL_NONSHR)
+	rm -f core core.*perl.*.? *perl.core t/core t/core.perl.*.? t/*perl.core t/misctmp* t/forktmp* t/tmp* t/c t/perl t/rantests .?*.c so_locations $(LIBPERL_NONSHR) $(MINIPERL_NONSHR)
 	rm -rf $(addedbyconf)
 	rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old
 	rm -f $(private)
@@ -793,7 +793,7 @@
 	else \
 	  cd t && PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) ./perl TEST; \
 	fi
-	@echo "Ran tests" > t/ran_tests
+	@echo "Ran tests" > t/rantests
 
 utest ucheck: test-prep
 	if (true </dev/tty) >/dev/null 2>&1; then \
diff -ru perl-5.7.0.orig/installperl perl-5.7.0/installperl
--- perl-5.7.0.orig/installperl	Sat Aug 26 07:08:33 2000
+++ perl-5.7.0/installperl	Fri Sep  8 09:41:02 2000
@@ -159,7 +159,7 @@
 -x 'perl' . $exe_ext	|| die "perl isn't executable!\n";
 -x 'suidperl' . $exe_ext|| die "suidperl isn't executable!\n" if $d_dosuid;
 
--f 't/ran_tests'	|| $Is_W32
+-f 't/rantests'		|| $Is_W32
 			|| warn "WARNING: You've never run 'make test'!!!",
 				"  (Installing anyway.)\n";
 
End of Patch.





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