diff options
| author | 2018-01-24 17:32:49 +0000 | |
|---|---|---|
| committer | 2018-01-24 17:32:49 +0000 | |
| commit | 122c663a57088a373fb9c31c3f0b78993385f6e5 (patch) | |
| tree | b1bf9761dad6177447a20b122cc09948dd996d45 | |
| parent | 2b1a21ed3581f77f34d582507177ebce33565534 (diff) | |
Change path to hiddenapi for run-tests
Some test runners don't seem to have ANDROID_HOST_OUT in their PATH.
Make it explicit.
Test: art/test.py --host -b -r -t 674-hiddenapi
Change-Id: Ie9c8ad7738eaeeb06909397fc056ddd57fbc7a70
| -rwxr-xr-x | test/run-test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/run-test b/test/run-test index bde3aaceb9..a453f22e29 100755 --- a/test/run-test +++ b/test/run-test @@ -113,9 +113,10 @@ if [ -z "$ZIPALIGN" ]; then fi export ZIPALIGN -# If hiddenapi was not set by the environment variable, assume it is in the path. +# If hiddenapi was not set by the environment variable, assume it is in +# ANDROID_HOST_OUT. if [ -z "$HIDDENAPI" ]; then - export HIDDENAPI="hiddenapi" + export HIDDENAPI="${ANDROID_HOST_OUT}/bin/hiddenapi" fi info="info.txt" |