summaryrefslogtreecommitdiffstats
path: root/sensors
diff options
context:
space:
mode:
authorHsin-Yi Chen <hsinyichen@google.com>2016-12-29 18:57:52 +0800
committerHsin-Yi Chen <hsinyichen@google.com>2017-01-05 11:37:31 +0800
commit23bd70d552fc33fbd3e0be3cd28889ba884eb7e0 (patch)
treec3192796a296f9318f8c25ad8b0a264929287e92 /sensors
parent4a412790a567eed201b7d0bc435ad5fd91ed3d4b (diff)
downloadandroid_hardware_interfaces-23bd70d552fc33fbd3e0be3cd28889ba884eb7e0.tar.gz
android_hardware_interfaces-23bd70d552fc33fbd3e0be3cd28889ba884eb7e0.tar.bz2
android_hardware_interfaces-23bd70d552fc33fbd3e0be3cd28889ba884eb7e0.zip
Fix VTS paths on 32-bit target
Decide target_basepaths by device's bitness. On 32-bit target, do not include */lib64. Bug: 33930594 Test: vts-tradefed run commandAndExit vts -m VibratorHidlTest -l INFO Change-Id: I340ded1d763dc194da461ecf183c6a2ff5f5ee6f
Diffstat (limited to 'sensors')
-rw-r--r--sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py b/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py
index 88fe675a3..de764afa8 100644
--- a/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py
+++ b/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py
@@ -48,11 +48,11 @@ class SensorsHidlTest(base_test_with_webdb.BaseTestWithWebDbClass):
self.dut.hal.InitHidlHal(
target_type="sensors",
- target_basepaths=["/system/lib64"],
+ target_basepaths=self.dut.libPaths,
target_version=1.0,
target_package="android.hardware.sensors",
target_component_name="ISensors",
- bits=64)
+ bits=64 if self.dut.is64Bit else 32)
def tearDownClass(self):
""" If profiling is enabled for the test, collect the profiling data