diff options
author | Alex Light <allight@google.com> | 2019-12-18 11:13:03 -0800 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-01-03 22:11:47 +0000 |
commit | 8d94dddfd60ab8122b0abb1a0d90fb13d752a7b6 (patch) | |
tree | 3c9195b1fd8a78ef3d112ed5b5663796946c9629 /libnativeloader/library_namespaces.cpp | |
parent | 65a01a7a751f0ec8c0cbb5650c25724e1df93826 (diff) |
Improve run-test tooling support
A useful thing to do with run-test tests is to run them in parallel to
reproduce low-probability flakes. We have a tool called
parallel_run.py to do this. Unfortunately one had to manually create
the script that parallel_run.py would execute, making it rather
difficult to use. This adds a --create-runner flag to run-test that
will cause it to write a script (called $DEX_LOCATION/runit.sh) that
is compatible with parallel_run.py
Test: % ./test/run-test --host --64 --prebuild 001-HelloWorld
...
Runnable test script written to /tmp/allight/test-180018/runit.sh
...
% ./tools/parallel_run.py /tmp/allight/test-180018/runit.sh -j80
Change-Id: I18d4ec72b51fb3c868ca4c6fe7f191e74f45b868
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions