Build and test Docker on IBM Power and Z using gccgo. Enable CI on Power and Z.

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
Srini Brahmaroutu 2015-02-24 18:33:18 +00:00
parent a27dd533e1
commit 1f89ef9c24

View file

@ -171,7 +171,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) {
{ {
"doesnotexists", "doesnotexists",
[]string{}, []string{},
100 * time.Millisecond, 200 * time.Millisecond,
`Command doesnotexists not found.`, `Command doesnotexists not found.`,
1, 1,
fmt.Errorf(`"" failed with errors: exit status 1 : "Command doesnotexists not found."`), fmt.Errorf(`"" failed with errors: exit status 1 : "Command doesnotexists not found."`),
@ -179,7 +179,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) {
{ {
dockerBinary, dockerBinary,
[]string{"an", "error"}, []string{"an", "error"},
100 * time.Millisecond, 200 * time.Millisecond,
`an error has occurred`, `an error has occurred`,
1, 1,
fmt.Errorf(`"an error" failed with errors: exit status 1 : "an error has occurred"`), fmt.Errorf(`"an error" failed with errors: exit status 1 : "an error has occurred"`),
@ -195,7 +195,7 @@ func (s *DockerCmdSuite) TestDockerCmdWithTimeout(c *check.C) {
{ {
dockerBinary, dockerBinary,
[]string{"run", "-ti", "ubuntu", "echo", "hello"}, []string{"run", "-ti", "ubuntu", "echo", "hello"},
100 * time.Millisecond, 200 * time.Millisecond,
"hello", "hello",
0, 0,
nil, nil,
@ -282,7 +282,7 @@ func (s *DockerCmdSuite) TestDockerCmdInDirWithTimeout(c *check.C) {
{ {
"doesnotexists", "doesnotexists",
[]string{}, []string{},
100 * time.Millisecond, 200 * time.Millisecond,
`Command doesnotexists not found.`, `Command doesnotexists not found.`,
1, 1,
fmt.Errorf(`"dir:%s" failed with errors: exit status 1 : "Command doesnotexists not found."`, tempFolder), fmt.Errorf(`"dir:%s" failed with errors: exit status 1 : "Command doesnotexists not found."`, tempFolder),
@ -290,7 +290,7 @@ func (s *DockerCmdSuite) TestDockerCmdInDirWithTimeout(c *check.C) {
{ {
dockerBinary, dockerBinary,
[]string{"an", "error"}, []string{"an", "error"},
100 * time.Millisecond, 200 * time.Millisecond,
`an error has occurred`, `an error has occurred`,
1, 1,
fmt.Errorf(`"dir:%s an error" failed with errors: exit status 1 : "an error has occurred"`, tempFolder), fmt.Errorf(`"dir:%s an error" failed with errors: exit status 1 : "an error has occurred"`, tempFolder),
@ -306,7 +306,7 @@ func (s *DockerCmdSuite) TestDockerCmdInDirWithTimeout(c *check.C) {
{ {
dockerBinary, dockerBinary,
[]string{"run", "-ti", "ubuntu", "echo", "hello"}, []string{"run", "-ti", "ubuntu", "echo", "hello"},
100 * time.Millisecond, 200 * time.Millisecond,
"hello", "hello",
0, 0,
nil, nil,