Add E2E requirement for integration tests

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Upstream-commit: d622e81af50f4690d5867a89b430d1b94707fd26
Component: engine
This commit is contained in:
Christopher Crone
2017-09-08 16:44:19 +02:00
parent 559acd0f8b
commit fe0ff1cb68

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