fixed indent in run_test.sh and added docs

This commit is contained in:
Alexandr Notchenko 2013-08-30 17:11:26 +04:00
parent 6694867feb
commit 22f260c229
2 changed files with 7 additions and 2 deletions

View File

@ -50,6 +50,11 @@ Setup for Nailgun Unit Tests
cd nailgun
./run_tests.sh --no-jslint --no-ui-tests
#. Run the Nailgun flake8 test::
cd nailgun
./run_tests.sh --flake8
Setup for Web UI Tests
----------------------

View File

@ -4,12 +4,12 @@ function usage {
echo "Usage: $0 [OPTION]..."
echo "Run tests"
echo ""
echo " -p, --flake8 Just run flake8 and HACKING compliance check"
echo " -p, --flake8 Just run flake8 and HACKING compliance check"
echo " -f, --fail-first Nosetests will stop on first error"
echo " -j, --jslint Just run JSLint"
echo " -u, --ui-tests Just run UI tests"
echo " -x, --xunit Generate reports (useful in Jenkins environment)"
echo " -P, --no-flake8 Don't run static code checks"
echo " -P, --no-flake8 Don't run static code checks"
echo " -J, --no-jslint Don't run JSLint"
echo " -U, --no-ui-tests Don't run UI tests"
echo " -c, --clean Only clean *.log, *.json, *.pyc, *.pid files, doesn't run tests"