Use the feature-based precondition checking for VR Test.

This is to run the test on both passthrough and binderized
devices.

Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
HalNfcHidlTargetBasicTest -l INFO
Bug: 32022964

Change-Id: Ib1288b7288431da6ec2d8a93aa0bc6f2c86fc4da
This commit is contained in:
Keun Soo Yim
2017-01-23 16:29:02 -08:00
parent 879e6c560e
commit 41249c1f52

View File

@@ -25,9 +25,11 @@
_64bit::DATA/nativetest64/vr_hidl_hal_test/vr_hidl_hal_test,
"/>
<option name="binary-test-type" value="hal_hidl_gtest" />
<option name="hwbinder-service" value="android.hardware.vr" />
<!-- Uncomment this and comment 'precondition-feature' to run this test
only on devices using binderized VR HALs.
<option name="precondition-hwbinder-service" value="android.hardware.vr" /> -->
<option name="precondition-feature" value="android.hardware.vr.high_performance" />
<option name="test-timeout" value="1m" />
<option name="test-config-path" value="vts/testcases/hal/vr/hidl/target/VrHidlTargetTest.config" />
</test>
</configuration>