summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2015-10-14 14:30:35 +0900
committerJakob Borg <jakob@nym.se>2015-10-14 14:41:16 +0900
commitcc1387ec0cc04491d4f35e09e526fe54d7237395 (patch)
tree6cf4839e1311496fc45bb617b89182a0ce9798a9 /build.sh
parent2b56961b541e83443327e60ffb1e09da64c5805d (diff)
Tests should be run with -race
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 91af5be42..f7bdf9682 100755
--- a/build.sh
+++ b/build.sh
@@ -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