<div dir="ltr">Hi Dave,<div><br></div><div style>You can see <a href="http://test-runner.pl">test-runner.pl</a> usage by executing following command.</div><div style>=========</div><div style>$ cd /path/to/pgrouting-root</div>
<div style><div>$ tools/<a href="http://test-runner.pl">test-runner.pl</a> -h</div><div>RUNNING: <a href="http://test-runner.pl">test-runner.pl</a> -h</div><div>Usage: <a href="http://test-runner.pl">test-runner.pl</a> -pgver vpg -pgisver vpgis -psql /path/to/psql</div>
<div>       -pgver vpg          - postgresql version</div><div>       -pgport port        - postgresql port to use (default: 5432)</div><div>       -pgisver vpgis      - postgis version</div><div>       -pgrver vpgr        - pgrouting version</div>
<div>       -psql /path/to/psql - optional path to psql</div><div>       -v                  - verbose messages for debuging(enter twice for more)</div><div>       -clean              - dropdb pgr_test__db__test</div><div>
       -ignorenotice       - ignore NOTICE statements when reporting failures</div><div>       -h                  - help</div><div>=========<br></div><div><br></div><div style>And I use the following commands normally.</div>
<div style>=========</div><div style>$ which psql</div><div style>/path/to/psql</div><div style>$ tools/<a href="http://test-runner.pl">test-runner.pl</a> -psql /path/to/psql -ignorenotice<br></div><div style>=========</div>
<div style>* As Stephen mentioned, currently, tsp's last test fail.</div><div style><br></div><div style>The test file specification is here.</div><div style><a href="https://github.com/pgRouting/pgrouting/wiki/2.0-Development-Guidelines-and-Standards#test-standards">https://github.com/pgRouting/pgrouting/wiki/2.0-Development-Guidelines-and-Standards#test-standards</a><br>
</div><div style><br></div><div style>Thanks,</div><div style><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2013/7/23 Dave Potts <span dir="ltr"><<a href="mailto:dave.potts@pinan.co.uk" target="_blank">dave.potts@pinan.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi<br>
<br>
I am looking at a bug in part of the pgroute software,  I like to be able to run the 'test software'<br>
<br>
I found a perl script in pgrouting-develop/tools called <a href="http://test-runner.pl" target="_blank">test-runner.pl</a><br>
<br>
Is there any documentation on how to run it?<br>
<br>
I noticed that most of the pgroute software has a test directory, is there any information on how to add new a test case or the format of a test case/<br>
<br>
regards<br>
<br>
<br>
Dave.<br>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Ko Nagase (sanak)</div><div>Georepublic Japan</div><div>mail: <a href="mailto:geosanak@gmail.com" target="_blank">geosanak@gmail.com</a> </div>
<div>        <a href="mailto:nagase@georepublic.co.jp" target="_blank">nagase@georepublic.co.jp</a></div></div>
</div></div>