diff options
author | Jakob Borg <jakob@nym.se> | 2015-10-14 14:30:35 +0900 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2015-10-14 14:41:16 +0900 |
commit | cc1387ec0cc04491d4f35e09e526fe54d7237395 (patch) | |
tree | 6cf4839e1311496fc45bb617b89182a0ce9798a9 /build.sh | |
parent | 2b56961b541e83443327e60ffb1e09da64c5805d (diff) |
Tests should be run with -race
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ case "${1:-default}" in # For every package in the repo for dir in $(go list ./...) ; do # run the tests - godep go test -coverprofile=profile.out $dir + godep go test -race -coverprofile=profile.out $dir if [ -f profile.out ] ; then # and if there was test output, append it to coverage.out grep -v "mode: set" profile.out >> coverage.out |