Skip to content

Commit

Permalink
[dist] do not count coverage if the tests fail
Browse files Browse the repository at this point in the history
Otherwise this gives very strange graphs :)
  • Loading branch information
coolo committed Dec 12, 2012
1 parent 8d7a524 commit 477c69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/ci/obs_testsuite_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ setup_api
echo "Enter API rails root and running rcov"
cd src/api
mkdir -p coverage
rake test --trace || true
rake test --trace
cd ../..

echo "Enter WebUI rails root and running rcov"
Expand All @@ -69,7 +69,7 @@ setup_webui

cd src/webui
mkdir -p coverage
rake test --trace || true
rake test --trace
cd ../..

cleanup

0 comments on commit 477c69a

Please sign in to comment.