Skip to content

Commit

Permalink
report coverage when using go tip.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshahid committed Nov 5, 2013
1 parent fcb3be6 commit 2817cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ echo "Running tests for packages: $test_packages"
ulimit -n 2048 || echo could not change ulimit

for i in $test_packages; do
if go version | grep go1.2 > /dev/null 2>&1; then
if go version | egrep 'go1.2|devel' > /dev/null 2>&1; then
go test -coverprofile /tmp/influxdb.${i/\//.}.coverage $i $gocheck_args $@
else
go test $i $gocheck_args $@
Expand Down

0 comments on commit 2817cf6

Please sign in to comment.