aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/pelletier/go-toml/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pelletier/go-toml/test.sh')
-rwxr-xr-xvendor/github.com/pelletier/go-toml/test.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/vendor/github.com/pelletier/go-toml/test.sh b/vendor/github.com/pelletier/go-toml/test.sh
index ba6adf3..af013e8 100755
--- a/vendor/github.com/pelletier/go-toml/test.sh
+++ b/vendor/github.com/pelletier/go-toml/test.sh
@@ -23,15 +23,13 @@ function git_clone() {
# Remove potential previous runs
rm -rf src test_program_bin toml-test
-go get github.com/pelletier/go-buffruneio
go get github.com/davecgh/go-spew/spew
go get gopkg.in/yaml.v2
go get github.com/BurntSushi/toml
# get code for BurntSushi TOML validation
-# pinning all to 'HEAD' for version 0.3.x work (TODO: pin to commit hash when tests stabilize)
-git_clone github.com/BurntSushi/toml master HEAD
-git_clone github.com/BurntSushi/toml-test master HEAD #was: 0.2.0 HEAD
+git_clone github.com/BurntSushi/toml master a368813
+git_clone github.com/BurntSushi/toml-test master 39e37e6
# build the BurntSushi test application
go build -o toml-test github.com/BurntSushi/toml-test
@@ -46,7 +44,7 @@ cp -R query/* src/github.com/pelletier/go-toml/query
go build -o test_program_bin src/github.com/pelletier/go-toml/cmd/test_program.go
# Run basic unit tests
-go test github.com/pelletier/go-toml -covermode=count -coverprofile=coverage.out
+go test github.com/pelletier/go-toml -race -coverprofile=coverage.txt -covermode=atomic
go test github.com/pelletier/go-toml/cmd/tomljson
go test github.com/pelletier/go-toml/query