summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/README.md b/test/README.md
index dc9e9b7781..2890bb9ba7 100644
--- a/test/README.md
+++ b/test/README.md
@@ -177,7 +177,7 @@ $ art/test.py -b --host -r
$ art/test.py --target -r
```
-## Running one run-test on the build host
+## Building and running one run-test on the build host
```sh
$ # Build test files
@@ -192,12 +192,16 @@ Or:
$ art/test.py -b --host -r -t 001-HelloWorld
```
-## Running one run-test on the target device
+## Building and running one run-test on the target device
```sh
-$ art/test.py --target -r -t 001-HelloWorld
+$ art/test.py --target -b -r -t 001-HelloWorld
```
+The `-b` option (re)builds the shard for the given test(s) and pushes it to
+device. However the push may not include all necessary dependencies, e.g. test
+`.so` libraries like `libarttest.so`.
+
## Running one gtest on the build host
```sh