Move WV unit/integration tests to /data/nativetest

[ Merge of http://go/wvgerrit/73044 ]

The tests currently get copied to /data/bin. Changes in location
of system libraries causes test failures when tests are unable to
find dependent dynamic libraries.

Bug: 123879070
Test: WV unit/integration tests
Change-Id: I86edbe33b4753238fcf8b84243ac6e6c058ea145
This commit is contained in:
Rahul Frias
2019-02-21 01:28:48 -08:00
parent 007153889e
commit 088c5afa02
8 changed files with 30 additions and 30 deletions

View File

@@ -30,10 +30,10 @@ fi
adb_shell_run() {
local test_file=$1
shift
if adb $SERIAL_NUM shell ls /data/bin/$test_file &> /dev/null; then
test_file=/data/bin/$test_file
if adb $SERIAL_NUM shell ls /data/nativetest/$test_file &> /dev/null; then
test_file=/data/nativetest/$test_file
else
echo "Please install the test on the device in /data/bin, "
echo "Please install the test on the device in /data/nativetest, "
echo "or begin execution by running ./build_and_run_all_unit_tests.sh"
exit 1
fi