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:
parent
07f10d8e2e
commit
d622e81af5
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue