Skip to content

Commit

Permalink
Update tests/README.md Docker instructions to match ci/README.md (apa…
Browse files Browse the repository at this point in the history
…che#18848)

Documentation was missing python3-docker and had an outdated platform.
  • Loading branch information
kpuatamazon committed Aug 3, 2020
1 parent 54b9e9c commit 9fd2cce
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Ninja is a build tool (like make) that prioritizes building speed. If you will b

To run tests inside docker, you first need to install `docker` and `docker-compose` on your machine.

On Ubuntu you may install them via `sudo apt-get install docker.io docker-compose`
On Ubuntu you may install them via `sudo apt-get install docker.io docker-compose python3-docker`
and set them up via `sudo usermod $(whoami) -G docker -a`.

Then, to run tests inside docker run the following command
Expand All @@ -73,11 +73,10 @@ Then, to run tests inside docker run the following command
ci/build.py --platform {PLATFORM} /work/runtime_functions.sh {RUNTIME_FUNCTION}
```

An example for running python tests would be
An example for running python tests on Ubuntu with a CPU would be

```
ci/build.py --platform build_ubuntu_cpu_mkldnn /work/runtime_functions.sh unittest_ubuntu_python3_cpu
ci/build.py --platform ubuntu_cpu /work/runtime_functions.sh unittest_ubuntu_python3_cpu
```



See [Continuous Integration](../ci/README.md)

0 comments on commit 9fd2cce

Please sign in to comment.