[pgrouting-users] Running test sequeances
Dave Potts
dave.potts at pinan.co.uk
Tue Jul 23 04:11:28 PDT 2013
On 23/07/13 12:46, sanak wrote:
Thanks Sanak, I think I known why the TSP fails, but I want to make
sure, I would also like to test the TSP with a larger distance marix.
Dave.
> Hi Dave,
>
> You can see test-runner.pl <http://test-runner.pl> usage by executing
> following command.
> =========
> $ cd /path/to/pgrouting-root
> $ tools/test-runner.pl <http://test-runner.pl> -h
> RUNNING: test-runner.pl <http://test-runner.pl> -h
> Usage: test-runner.pl <http://test-runner.pl> -pgver vpg -pgisver
> vpgis -psql /path/to/psql
> -pgver vpg - postgresql version
> -pgport port - postgresql port to use (default: 5432)
> -pgisver vpgis - postgis version
> -pgrver vpgr - pgrouting version
> -psql /path/to/psql - optional path to psql
> -v - verbose messages for debuging(enter twice
> for more)
> -clean - dropdb pgr_test__db__test
> -ignorenotice - ignore NOTICE statements when reporting
> failures
> -h - help
> =========
>
> And I use the following commands normally.
> =========
> $ which psql
> /path/to/psql
> $ tools/test-runner.pl <http://test-runner.pl> -psql /path/to/psql
> -ignorenotice
> =========
> * As Stephen mentioned, currently, tsp's last test fail.
>
> The test file specification is here.
> https://github.com/pgRouting/pgrouting/wiki/2.0-Development-Guidelines-and-Standards#test-standards
>
> Thanks,
>
>
> 2013/7/23 Dave Potts <dave.potts at pinan.co.uk
> <mailto:dave.potts at pinan.co.uk>>
>
> hi
>
> I am looking at a bug in part of the pgroute software, I like to
> be able to run the 'test software'
>
> I found a perl script in pgrouting-develop/tools called
> test-runner.pl <http://test-runner.pl>
>
> Is there any documentation on how to run it?
>
> 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/
>
> regards
>
>
> Dave.
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> <mailto:Pgrouting-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
>
>
>
> --
> Ko Nagase (sanak)
> Georepublic Japan
> mail: geosanak at gmail.com <mailto:geosanak at gmail.com>
> nagase at georepublic.co.jp <mailto:nagase at georepublic.co.jp>
>
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20130723/04590d87/attachment.html>
More information about the Pgrouting-users
mailing list