[pgrouting-dev] Option to only test one section
Dave Potts
dave.potts at pinan.co.uk
Fri Aug 23 00:20:01 PDT 2013
On 23/08/13 00:41, Stephen Woodbridge wrote:
Thank you Steve an good aid to ensure that changes can be tested.
Dave.
> Hi all,
>
> I've had a couple of requests to be able to only test one algorithm
> when someone if make changes to only one area.
>
> RUNNING: test-runner.pl -h
> Usage: 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
> -alg 'dir' - directory to select which algorithm
> subdirs to test
> -h - help
>
> Example:
>
> tools/test-runner.pl -alg tsp
> tools/test-runner.pl -alg common
>
> Will only run the 'tsp' or 'common' tests. The dir is the directory
> under 'src/' that you want to limit your test to. This tends to be
> much faster than running all the tests.
>
> Just pushed this change to github in the develop branch.
>
> -Steve
> _______________________________________________
> pgrouting-dev mailing list
> pgrouting-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
More information about the pgrouting-dev
mailing list