theodesp / go-heaps

Reference implementations of heap data structures in Go - treap, skew, leftlist, pairing, fibonacci
MIT License
96 stars 29 forks source link

`make test` doesn't run any test #36

Closed lhauspie closed 5 years ago

lhauspie commented 5 years ago

In local, running make test on the root folder results in:

GOPATH=/home/lhauspie/go go test -race  -coverprofile=coverage.txt -covermode=atomic
?       github.com/theodesp/go-heaps    [no test files]

and Travis says:

$ make test
GOPATH=/home/travis/gopath go test -race  -coverprofile=coverage.txt -covermode=atomic
?       github.com/theodesp/go-heaps    [no test files]
The command "make test" exited with 0.

It seems there is a problem with the -coverprofile=coverage.txt flag because of:

cannot use test profile flag with multiple packages
theodesp commented 5 years ago

fixed