Skip to content

Instantly share code, notes, and snippets.

@cvvergara
Last active September 5, 2016 19:06
Show Gist options
  • Save cvvergara/a865f860f2e0a19930247eb48b939180 to your computer and use it in GitHub Desktop.
Save cvvergara/a865f860f2e0a19930247eb48b939180 to your computer and use it in GitHub Desktop.
A petit shell for pgRouting developers
# place at the top of the repository
# build must exist
set -e
cd build/
#cmake -DWITH_DOC=ON -DBUILD_DOXY=ON ..
cmake ..
make
sudo make install
#make doc
#make doxy
cd ..
#Test the documentation
# compulsory test
tools/testers/algorithm-tester.pl -alg common
tools/testers/algorithm-tester.pl -alg topology
tools/testers/algorithm-tester.pl -alg dijkstra
#all the tests
#tools/testers/algorithm-tester.pl
#tests
createdb ___pgr___test___
sh ./tools/testers/pg_prove_tests.sh <user> [Debug]
dropdb ___pgr___test___
#note: if a pgtap test fails the script wont delete the database
# please delete manually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment