1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add E2E requirement for integration tests

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
Christopher Crone 2017-09-08 16:44:19 +02:00
parent 07f10d8e2e
commit d622e81af5

View file

@ -36,6 +36,14 @@ func DaemonIsLinux() bool {
return testEnv.DaemonInfo.OSType == "linux"
}
func E2E() bool {
return os.Getenv("DOCKER_E2E") != ""
}
func NotE2E() bool {
return !E2E()
}
// Deprecated: use skip.IfCondition(t, !testEnv.DaemonInfo.ExperimentalBuild)
func ExperimentalDaemon() bool {
return testEnv.DaemonInfo.ExperimentalBuild