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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user