Just no-op instead. This change is necessary because previously a recent build-tools change no longer excludes prog/* from unit testing since other projects actually do have genuine tests under there.
14 lines
162 B
Go
14 lines
162 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
|
|
weavetest "github.com/weaveworks/weave/testing"
|
|
)
|
|
|
|
func TestMain(t *testing.T) {
|
|
if weavetest.TrimTestArgs() {
|
|
main()
|
|
}
|
|
}
|