diff options
author | Alex Light <allight@google.com> | 2021-03-31 16:46:02 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2021-04-18 00:32:05 +0000 |
commit | 5e1ffcdc4de12c3bd7f12c8f8bf3355e9640c126 (patch) | |
tree | d65922bf5f49479f7474b005aa2656af6b62ca04 /test/ProfileTestMultiDex/Second.java | |
parent | 656fdcd7f2aa9920ecd464dbb59d284e17969baa (diff) |
Make zipapex test support multiple-execution
Some run-tests execute run-test-jar multiple times. This could cause
issues with setting up the zipapex due to the already existing symlink
causing a new symlink to be created within the zipapex dir. If two
tests with multiple executions both happened to pick the same
temp-directory name this could cause 'ln' to exit non-zero failing the
test. To fix this we simply detect and continue cases where the
zipapex symlink already exists.
Test: ./test/testrunner/run_build_test_target.py art-linux-bionic-x64-zipapex
Bug: 135507613
Change-Id: Id2f4d5c75ef8d35011eb25e87fd400e6bc3b9eca
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions