Skip to content

Commit

Permalink
* Added cron tests to coverage script.
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Aug 1, 2014
1 parent 09c11f8 commit 8d384f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ go test -coverprofile /tmp/beehive_coverage2.part ./filters/endswith
go test -coverprofile /tmp/beehive_coverage3.part ./filters/contains
go test -coverprofile /tmp/beehive_coverage4.part ./filters/equals

go test -coverprofile /tmp/beehive_coverage4.part ./modules/cronbee/cron

echo "mode: set" > /tmp/beehive_coverage.out
grep -h -v "mode: set" /tmp/beehive_coverage*.part >> /tmp/beehive_coverage.out
go tool cover -html=/tmp/beehive_coverage.out
Expand Down

0 comments on commit 8d384f6

Please sign in to comment.