From 5d268286534ef3ebf69a2fc28feea8159fa91713 Mon Sep 17 00:00:00 2001 From: Mirza Krak Date: Wed, 2 Oct 2019 16:40:44 +0000 Subject: [PATCH] README-run-tests.md: update instructions The run-tests.sh script utilizes 'docker-mender-convert`. Changelog: None Signed-off-by: Mirza Krak --- scripts/README-run-tests.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/scripts/README-run-tests.md b/scripts/README-run-tests.md index f6b5219..541080e 100644 --- a/scripts/README-run-tests.md +++ b/scripts/README-run-tests.md @@ -1,13 +1,16 @@ # Run tests -Run the following commands to install test dependencies (assumes that all mender-convert dependencies are already installed): +The tests utilize the provided Docker container in this repository and conversion +is done using the `docker-mender-convert` command. For this reason we first need +to build the container (commands must be run from the root directory of +`mender-convert`): - sudo apt-get update e2fsprogs=1.44.1-1 - sudo apt-get -qy --force-yes install python-pip - sudo pip2 install pytest --upgrade - sudo pip2 install pytest-xdist --upgrade - sudo pip2 install pytest-html --upgrade +```bash +./docker-build +``` Run tests: - ./scripts/run-tests.sh +```bash +./scripts/run-tests.sh +```