Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (19 sloc) 0.465 kb
#!/bin/bash
cd tests
echo "setting up test environment (this might take a while)..."
python bootstrap.py >/dev/null 2>&1
./bin/buildout >/dev/null 2>&1
echo "running tests"
if [ $1 ]; then
suite="cms.$1"
else
suite='cms'
fi
./bin/coverage run ./testapp/manage.py test $suite
retcode=$?
echo "post test actions..."
./bin/coverage xml --omit=parts,/usr/,eggs > /dev/null
./bin/coverage html --omit=parts,/usr/,eggs > /dev/null
cd ..
echo "done"
exit $retcode
Jump to Line
Something went wrong with that request. Please try again.