#!/bin/bash cd `dirname $0` svn up export LD_LIBRARY_PATH=../dist/lib cd ../fost-base if ./build $* then { cd ../fost-orm if ./compile $* then { if ../dist/bin/fost-schema-test-jsondb-file Cpp/fost-schema-test/jsondb-file.json && \ ../dist/bin/fost-schema-test-dyndriver json libfost-jsondb.so then { valgrind --leak-check=full --show-reachable=yes \ ../dist/bin/ftest \ libfost-cache-test-smoke.so \ libfost-jsondb-test-smoke.so \ libfost-schema-test-smoke.so \ libfost-sql-test-smoke.so valgrind --leak-check=full --show-reachable=yes \ ../dist/bin/fost-schema-test-jsondb-file Cpp/fost-schema-test/jsondb-file.json valgrind --leak-check=full --show-reachable=yes \ ../dist/bin/fost-schema-test-dyndriver json libfost-jsondb.so } else { exit 1 } fi } else { exit 1 } fi } else { exit 1 } fi