MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / TestBinaries

Method TestBinaries

tools/mage/go.go:208–219  ·  view source on GitHub ↗

TestBinaries tests the Go binaries by executing them with the --help flag.

()

Source from the content-addressed store, hash-verified

206
207// TestBinaries tests the Go binaries by executing them with the --help flag.
208func (Go) TestBinaries() error {
209 if mg.Verbose() {
210 fmt.Println("Testing Go binaries")
211 }
212 for _, binary := range goBinaries {
213 _, err := outputGo("run", binary, "config")
214 if err != nil {
215 return err
216 }
217 }
218 return nil
219}
220
221const goCoverageFile = "coverage.out"
222

Callers

nothing calls this directly

Calls 1

outputGoFunction · 0.85

Tested by

no test coverage detected