#!/bin/bash cd `dirname $0` svn up svn up ../PostgreSQL export LD_LIBRARY_PATH=../dist/lib cd ../fost-orm if ./build $* then { cd ../fost-postgres if ./compile $* then { valgrind --leak-check=full --show-reachable=yes \ ../dist/bin/ftest -i Configuration/postgres-linux.ini \ libfost-postgres-test-smoke.so } else { exit 1 } fi } else { exit 1 } fi