Merge pull request #24994 from miguelmorin:bazel_workspace_error

PiperOrigin-RevId: 230629635
This commit is contained in:
TensorFlower Gardener 2019-01-23 17:03:59 -08:00
commit 3eea664c22

View File

@ -153,12 +153,16 @@ There are two ways to run TensorFlow unit tests.
1. Using tools and libraries installed directly on your system. 1. Using tools and libraries installed directly on your system.
Refer to the Refer to the
[CPU-only developer Dockerfile](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/docker/Dockerfile.devel) and [CPU-only developer Dockerfile](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/docker/Dockerfile.devel)
and
[GPU developer Dockerfile](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/docker/Dockerfile.devel-gpu) [GPU developer Dockerfile](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/docker/Dockerfile.devel-gpu)
for the required packages. Alternatively, use the said for the required packages. Alternatively, use the said
[Docker images](https://hub.docker.com/r/tensorflow/tensorflow/tags/), e.g., [Docker images](https://hub.docker.com/r/tensorflow/tensorflow/tags/), e.g.,
`tensorflow/tensorflow:nightly-devel` and `tensorflow/tensorflow:nightly-devel-gpu` `tensorflow/tensorflow:nightly-devel` and
for development to avoid installing the packages directly on your system. `tensorflow/tensorflow:nightly-devel-gpu` for development to avoid
installing the packages directly on your system (in which case remember to
change directory from `/root` to `/tensorflow` once you get into the running
container so `bazel` can find the `tensorflow` workspace).
Once you have the packages installed, you can run a specific unit test in Once you have the packages installed, you can run a specific unit test in
bazel by doing as follows: bazel by doing as follows:
@ -186,5 +190,5 @@ There are two ways to run TensorFlow unit tests.
``` ```
See See
[TensorFlow Builds](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build) for details. [TensorFlow Builds](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build)
for details.