run_tests 25 lines (21 with data), 385 Bytes
#!/bin/bash if [ "$TEST_MODULES" == "" ]; then TEST_MODULES="\ pyforge \ ForgeDiscussion \ ForgeGit \ ForgeHg \ ForgeMail \ ForgeSVN \ ForgeTracker \ ForgeWiki \ ForgeDownloads \ ." fi for module in $TEST_MODULES; do ( echo "Running tests in module $module" cd $module nosetests $* || exit ) || exit done