Skip to content

Commit bc82b13

Browse files
committed
Remove test-integration-cli and references to it.
Signed-off-by: Daniel Nephin <[email protected]>
1 parent 6b025a8 commit bc82b13

15 files changed

Lines changed: 21 additions & 45 deletions

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash
1010
#
1111
# # Run the test suite:
12-
# docker run -e DOCKER_GITCOMMIT=foo --privileged docker hack/make.sh test-unit test-integration-cli test-docker-py
12+
# docker run -e DOCKER_GITCOMMIT=foo --privileged docker hack/make.sh test-unit test-integration test-docker-py
1313
#
1414
# # Publish a release:
1515
# docker run --privileged \

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash
1010
#
1111
# # Run the test suite:
12-
# docker run --privileged docker hack/make.sh test-unit test-integration-cli test-docker-py
12+
# docker run --privileged docker hack/make.sh test-unit test-integration test-docker-py
1313
#
1414
# Note: AppArmor used to mess with privileged mode, but this is no longer
1515
# the case. Therefore, you don't have to disable it anymore.

Dockerfile.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash
1010
#
1111
# # Run the test suite:
12-
# docker run --privileged docker hack/make.sh test-unit test-integration-cli test-docker-py
12+
# docker run --privileged docker hack/make.sh test-unit test-integration test-docker-py
1313
#
1414
# Note: AppArmor used to mess with privileged mode, but this is no longer
1515
# the case. Therefore, you don't have to disable it anymore.

Dockerfile.ppc64le

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash
1010
#
1111
# # Run the test suite:
12-
# docker run --privileged docker hack/make.sh test-unit test-integration-cli test-docker-py
12+
# docker run --privileged docker hack/make.sh test-unit test-integration test-docker-py
1313
#
1414
# Note: AppArmor used to mess with privileged mode, but this is no longer
1515
# the case. Therefore, you don't have to disable it anymore.

Dockerfile.s390x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash
1010
#
1111
# # Run the test suite:
12-
# docker run --privileged docker hack/make.sh test-unit test-integration-cli test-docker-py
12+
# docker run --privileged docker hack/make.sh test-unit test-integration test-docker-py
1313
#
1414
# Note: AppArmor used to mess with privileged mode, but this is no longer
1515
# the case. Therefore, you don't have to disable it anymore.

Dockerfile.simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# docker build -t docker:simple -f Dockerfile.simple .
22
# docker run --rm docker:simple hack/make.sh dynbinary
33
# docker run --rm --privileged docker:simple hack/dind hack/make.sh test-unit
4-
# docker run --rm --privileged -v /var/lib/docker docker:simple hack/dind hack/make.sh dynbinary test-integration-cli
4+
# docker run --rm --privileged -v /var/lib/docker docker:simple hack/dind hack/make.sh dynbinary test-integration
55

66
# This represents the bare minimum required to build and test Docker.
77

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all binary dynbinary build cross deb help init-go-pkg-cache install manpages rpm run shell test test-docker-py test-integration-cli test-unit tgz validate win
1+
.PHONY: all binary dynbinary build cross deb help init-go-pkg-cache install manpages rpm run shell test test-docker-py test-integration test-unit tgz validate win
22

33
# set the graph driver as the current graphdriver if not set
44
DOCKER_GRAPHDRIVER := $(if $(DOCKER_GRAPHDRIVER),$(DOCKER_GRAPHDRIVER),$(shell docker info 2>&1 | grep "Storage Driver" | sed 's/.*: //'))
@@ -149,13 +149,12 @@ shell: build ## start a shell inside the build env
149149
$(DOCKER_RUN_DOCKER) bash
150150

151151
test: build ## run the unit, integration and docker-py tests
152-
$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary cross test-unit test-integration-cli test-docker-py
152+
$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary cross test-unit test-integration test-docker-py
153153

154154
test-docker-py: build ## run the docker-py tests
155155
$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary test-docker-py
156156

157-
test-integration-cli: build ## (DEPRECATED) use test-integration
158-
$(DOCKER_RUN_DOCKER) hack/make.sh build-integration-test-cli-binary dynbinary test-integration
157+
test-integration-cli: test-integration ## (DEPRECATED) use test-integration
159158

160159
test-integration: build ## run the integration tests
161160
$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary test-integration

hack/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ More information is found within `make.ps1` by the author, @jhowardmsft
3737
- Referenced via `make test` when running tests on a local machine,
3838
or directly referenced when running tests inside a Docker development container.
3939
- When running on a local machine, `make test` to run all tests found in
40-
`test`, `test-unit`, `test-integration-cli`, and `test-docker-py` on
40+
`test`, `test-unit`, `test-integration`, and `test-docker-py` on
4141
your local machine. The default timeout is set in `make.sh` to 60 minutes
4242
(`${TIMEOUT:=60m}`), since it currently takes up to an hour to run
4343
all of the tests.
4444
- When running inside a Docker development container, `hack/make.sh` does
4545
not have a single target that runs all the tests. You need to provide a
4646
single command line with multiple targets that performs the same thing.
47-
An example referenced from [Run targets inside a development container](https://docs.docker.com/opensource/project/test-and-docs/#run-targets-inside-a-development-container): `root@5f8630b873fe:/go/src/github.com/moby/moby# hack/make.sh dynbinary binary cross test-unit test-integration-cli test-docker-py`
47+
An example referenced from [Run targets inside a development container](https://docs.docker.com/opensource/project/test-and-docs/#run-targets-inside-a-development-container): `root@5f8630b873fe:/go/src/github.com/moby/moby# hack/make.sh dynbinary binary cross test-unit test-integration test-docker-py`
4848
- For more information related to testing outside the scope of this README,
4949
refer to
5050
[Run tests and test documentation](https://docs.docker.com/opensource/project/test-and-docs/)

hack/make.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ DEFAULT_BUNDLES=(
6161

6262
test-unit
6363
test-integration
64-
test-integration-cli
6564
test-docker-py
6665

6766
cross

hack/make/.integration-daemon-start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# see test-integration-cli for example usage of this script
3+
# see test-integration for example usage of this script
44

55
base="$ABS_DEST/.."
66
export PATH="$base/binary-daemon:$base/dynbinary-daemon:$PATH"

0 commit comments

Comments
 (0)