PageRenderTime 31ms CodeModel.GetById 23ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/run_unit_tests.sh

https://bitbucket.org/cistrome/cistrome-harvard/
Shell | 16 lines | 10 code | 3 blank | 3 comment | 1 complexity | add763f57325577d1e30e38cdca58d3c MD5 | raw file
 1#!/bin/sh
 2
 3## Excluding controllers due to the problematic genetrack dependency
 4## Excluding job runners due to various external dependencies
 5
 6COVERAGE=`which coverage`
 7COVERAGE_ARG=""
 8if [ $COVERAGE ]; then
 9    COVERAGE_ARG="--with-coverage"
10fi
11
12python ./scripts/nosetests.py -v \
13    $COVERAGE_ARG \
14    --with-nosehtml --html-report-file run_unit_tests.html \
15    --with-doctest --exclude=functional --exclude="^get" \
16    --exclude=controllers --exclude=runners lib test/unit