run_tests.sh 218 B

123456789101112131415161718
  1. #!/bin/sh
  2. echo "Running unittests:"
  3. failed=0
  4. for i in *_unittest; do
  5. echo -n "$i... "
  6. `./$i > /dev/null 2>&1`
  7. if [ $? == 0 ]; then
  8. echo "PASS"
  9. else
  10. echo "FAILED"
  11. failed=1;
  12. fi
  13. done
  14. exit $failed