Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Oct 15, 2022
1 parent 079c780 commit e3fb370
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makesurefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@

@goal debug @private
case "$AWK" in
*mawk*) "$AWK" -W version 2>&1 | head -n 1
*mawk*) $AWK -W version 2>&1 | head -n 1
;;
*) "$AWK" --version | head -n 1
*) $AWK --version | head -n 1
;;
esac
bash --version| head -n 1
Expand Down Expand Up @@ -110,7 +110,7 @@
@goal tested_cov
@doc 'run tests with coverage'
@depends_on cov_deleted
./makesure tested -D AWK="/home/xonix/proj/goawk/goawk -covermode=set -coverprofile=$COVERPROFILE"
./makesure tested -D AWK="/home/xonix/proj/goawk/goawk -covermode=set -coverappend -coverprofile=$COVERPROFILE"
go tool cover -html="$COVERPROFILE"

@goal default
Expand Down

0 comments on commit e3fb370

Please sign in to comment.