Parent: [b7140a] (diff)

Child: [cd3bad] (diff)

Download this file

run_tests    25 lines (21 with data), 418 Bytes

#!/bin/bash

if [ "$TEST_MODULES"  == "" ]; then
    TEST_MODULES="\
    pyforge \
    ForgeDiscussion \
    ForgeGit \
    ForgeHg \
    ForgeMail \
    ForgeSVN \
    ForgeTracker \
    ForgeWiki"
fi

for module in $TEST_MODULES; do
    (
        echo "====================="
        echo "Running tests in module $module"
        cd $module
        rm -r .test-data
        nosetests $* || exit
    ) || exit
done