Skip to content

Instantly share code, notes, and snippets.

@poutyface
Created May 27, 2011 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poutyface/994489 to your computer and use it in GitHub Desktop.
Save poutyface/994489 to your computer and use it in GitHub Desktop.
runtests
#!/bin/sh
echo "Running test ..."
for i in test/*_test
do
echo [ $i ] =========================== $'\n'
if [ -e $i ] ; then
if ./$i ; then
echo ""
echo $i, PASS $'\n'
else
echo ""
echo $i, FAIL $'\n'
fi
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment