allura
修訂 | 65b0c9589925b3f1535fc926bb45031aab34d6c3 (tree) |
---|---|
時間 | 2012-06-14 04:13:59 |
作者 | Evgeniy Filatov <evgeniyfilatov@yand...> |
Commiter | Yaroslav Luzin |
ticket:67 excluded tests from clonedigger run
@@ -25,10 +25,17 @@ if [ "$TEST_MODULES" == "" ]; then | ||
25 | 25 | " |
26 | 26 | fi |
27 | 27 | |
28 | +if [ "$INCLUDE_TESTS" ]; then | |
29 | + ignore="" | |
30 | +else | |
31 | + ignore="tests" | |
32 | +fi | |
33 | + | |
28 | 34 | mkdir -p report.clonedigger |
35 | + | |
29 | 36 | for module in $TEST_MODULES; do |
30 | 37 | ( |
31 | 38 | echo "Running clonedigger in module $module" |
32 | - clonedigger --output="report.clonedigger/$module-$(date --rfc-3339=seconds).html" --language=python --ignore-dir="$module/tests" $module || exit | |
39 | + clonedigger --output="report.clonedigger/$module-$(date --iso-8601=seconds).html" --language=python --ignore-dir="$ignore" $module || exit | |
33 | 40 | ) || exit |
34 | 41 | done |