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