Skip to content

Instantly share code, notes, and snippets.

@sousk
Created November 18, 2009 01:01
Show Gist options
  • Save sousk/237453 to your computer and use it in GitHub Desktop.
Save sousk/237453 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ "x$1"="x" ]; then
target=""
else
target=$1
fi
echo "running doctest $1....\n\n";
./symfony doctest frontend $1 > log/test.log && \
egrep "(not ok|Exception|Parse error|Fatal error|notice)" log/test.log
echo "\ndone\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment