reruntest.sh 259 B

12345678910111213141516171819
  1. #!/bin/bash
  2. cd ..
  3. make clean all OPT=-gl
  4. if [ $? != 0 ]; then
  5. exit
  6. fi
  7. cd tests
  8. fpc dbtestframework.pas -glh -Fu../units/x86_64-linux/
  9. if [ $? != 0 ]; then
  10. exit
  11. fi
  12. if [ "$1" != "" ]; then
  13. ./dbtestframework --suite=$1
  14. else
  15. ./dbtestframework
  16. fi
  17. #
  18. #