<div dir="ltr">Hi<div><br></div><div style>I tried to make some changes in the regression script, mainly because the script uses lot of hard coded paths and regression starts reporting failures if the <span class="" style>pgpool</span>-II or <span class="" style>PostgreSQL</span> are not found at the default path.</div>
<div style> </div><div style>Please find the attached patch which enables the regress.sh script to install the <span class="" style>pgpool</span> on fly in temp directory to run the tests on it (optional), and now the regress script takes some additional arguments to specify the paths of required components.</div>
<div style><br></div><div style>The list of all arguments accepted by regress.sh script as implemented by the attached patch are</div><div style><div><font face="courier new, monospace">pgpool2/test/regression$ sh regress.sh -?</font></div>
<div><font face="courier new, monospace">Usage:</font></div><div><font face="courier new, monospace">  regress.sh: [Options]... [test_name]</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Options:</font></div>
<div><font face="courier new, monospace">  -p   DIRECTORY           <span class="" style>Postgres</span> installed directory</font></div><div><font face="courier new, monospace">  -b   DIRECTORY           <span class="" style>pgbench</span> installed directory, if different from <span class="" style>Postgres</span> installed directory</font></div>
<div><font face="courier new, monospace">  -i   DIRECTORY           <span class="" style>pgpool</span> installed directory, if already installed <span class="" style>pgpool</span> is to be used for tests</font></div><div>
<font face="courier new, monospace">  -m   install/<span class="" style>noinstall</span>   make install <span class="" style>pgpool</span> to temp directory for executing regression tests [Default: install]</font></div><div>
<font face="courier new, monospace">  -j    FILE               <span class="" style>Postgres</span> <span class="" style>jdbc</span> jar file path</font></div><div><font face="courier new, monospace">  -?                       print this help and then exit</font></div>
<div><br></div><div style>Thanks</div><div style>Regards</div><div style><br></div><div style>Muhammad <span class="" style>Usama</span></div><div style><br></div></div></div>