From 3fe87b011dd2b65b9d502a5195221666b7b140dd Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 13 Mar 2018 16:36:40 +0100 Subject: make shell: build, test and run in a container Some of the paths in the e2e tests are hard-coded, which complicates testing a bit on systems with different paths for runc, conmon, etc. Add a make shell target to the Makefile, which will build and run the libpod containers, giving a shell to the user in which podman can be built, run, tested etc. Signed-off-by: Valentin Rothberg Closes: #481 Approved by: rhatdan --- test/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/README.md') diff --git a/test/README.md b/test/README.md index 018c453ad..9e7ae4577 100644 --- a/test/README.md +++ b/test/README.md @@ -57,3 +57,12 @@ make integration.fedora This will run lint, git-validation, and gofmt tests and then execute unit and integration tests as well. + +### Run tests in a container +In case you have issue running the tests locally on your machine, you can run +them in a container: +``` +make shell +``` + +This will run a container and give you a shell and you can follow the instructions above. -- cgit v1.2.3-54-g00ecf