fpc/packages/fcl-db/tests/reruntest.sh
michael 998da11ecd * Script to test for memory leaks
git-svn-id: trunk@24771 -
2013-06-02 13:16:15 +00:00

20 lines
259 B
Bash
Executable File

#!/bin/bash
cd ..
make clean all OPT=-gl
if [ $? != 0 ]; then
exit
fi
cd tests
fpc dbtestframework.pas -glh -Fu../units/x86_64-linux/
if [ $? != 0 ]; then
exit
fi
if [ "$1" != "" ]; then
./dbtestframework --suite=$1
else
./dbtestframework
fi
#
#