diff options
| author | 2023-10-17 17:38:15 +0100 | |
|---|---|---|
| committer | 2023-10-18 10:23:44 +0000 | |
| commit | 8370a4c72c53c9d27cb10496b209a8d0eeccf9ba (patch) | |
| tree | 927871fa3efa07f63b5ba969a7b71609bafda38e | |
| parent | 1d556df25837ed6e14a9cc630e0f6967056a8c51 (diff) | |
Clarify docs on how to build and push a single run test.
Change-Id: I7fb064f3eb767e14ea1f2d4362a5b77cbab9e547
| -rw-r--r-- | test/README.md | 10 |
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 |