Browse Source

test: test with race by default

Xiang Li 11 years ago
parent
commit
79b8153eac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test

+ 1 - 1
test

@@ -38,7 +38,7 @@ split=(${TEST// / })
 TEST=${split[@]/#/${REPO_PATH}/}
 
 echo "Running tests..."
-go test ${COVER} $@ ${TEST}
+go test ${COVER} $@ ${TEST} --race
 
 echo "Checking gofmt..."
 fmtRes=$(gofmt -l $FMT)