This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Before 96a8704c makedepend.SH used shell quote syntax that modern
[perl5.git] / pod / perlrepository.pod
index 30d2cc2..731735d 100644 (file)
@@ -645,6 +645,14 @@ testcase:
   % cat ~/run
   #!/bin/sh
   git clean -dxf
+
+  # If you get './makedepend: 1: Syntax error: Unterminated quoted
+  # string' when bisecting versions of perl older than 5.9.5 this hack
+  # will work around the bug in makedepend.SH which was fixed in
+  # version 96a8704c. Make sure to comment out `git co makedepend.SH'
+  # below too.
+  git show blead:makedepend.SH > makedepend.SH
+
   # If you can use ccache, add -Dcc=ccache\ gcc -Dld=gcc to the Configure line
   # if Encode is not needed for the test, you can speed up the bisect by
   # excluding it from the runs with -Dnoextensions=Encode
@@ -653,11 +661,12 @@ testcase:
   # Correct makefile for newer GNU gcc
   perl -ni -we 'print unless /<(?:built-in|command)/' makefile x2p/makefile
   # if you just need miniperl, replace test_prep with miniperl
-  make -j4 test_prep
+  make test_prep
   [ -x ./perl ] || exit 125
   ./perl -Ilib ~/testcase.pl
   ret=$?
   [ $ret -gt 127 ] && ret=127
+  # git co makedepend.SH
   git clean -dxf
   exit $ret