2 echo >&2 You need to edit this to run your test case
7 # If you get './makedepend: 1: Syntax error: Unterminated quoted
8 # string' when bisecting versions of perl older than 5.9.5 this hack
9 # will work around the bug in makedepend.SH which was fixed in
10 # version 96a8704c. Make sure to uncomment 'git checkout makedepend.SH'
12 #git show blead:makedepend.SH > makedepend.SH
14 # If you can use ccache, add -Dcc=ccache\ gcc -Dld=gcc to the Configure line
15 # if Encode is not needed for the test, you can speed up the bisect by
16 # excluding it from the runs with -Dnoextensions=Encode
18 #./Configure -Dusedevel -Doptimize=-g -Dcc=ccache\ gcc -Dld=gcc -Dnoextensions=Encode -des
19 ./Configure -Dusedevel -Doptimize=-g -des
20 test -f config.sh || exit 125
21 # Correct makefile for newer GNU gcc
22 perl -ni -we 'print unless /<(?:built-in|command)/' makefile x2p/makefile
23 # if you just need miniperl, replace test_prep with miniperl
25 [ -x ./perl ] || exit 125
26 # This runs the actual testcase. You could use -e instead:
27 ./perl -Ilib ~/testcase.pl
29 [ $ret -gt 127 ] && ret=127
30 git checkout makedepend.SH
34 #if you need to invert the exit code, replace the above exit with this:
35 #[ $ret -eq 0 ] && exit 1