Last active
September 5, 2016 19:06
-
-
Save cvvergara/a865f860f2e0a19930247eb48b939180 to your computer and use it in GitHub Desktop.
A petit shell for pgRouting developers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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