Skip to content

Commit

Permalink
not using cover
Browse files Browse the repository at this point in the history
  • Loading branch information
Riyaz Faizullabhoy committed Mar 12, 2015
1 parent 3c32f22 commit fa7c032
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,10 @@ if [ -z "$PKG" ]; then
PKG="depot pkix tests"
fi

cover=false
if [ "$1" = "-c" ]; then
cover=true
fi

# Unit tests
echo
for mod in $PKG; do
mod_path=$REPO_PATH/$mod
go test -i $mod_path
if $cover; then
godep go test -cover -coverprofile="$mod"_cover.out -v $mod_path
else
godep go test -cover -v $mod_path
fi
godep go test -v $mod_path
done

0 comments on commit fa7c032

Please sign in to comment.