Set up VtsHalRadioV1_5TargetTest
Test: make cf_x86_phone-userdebug, make vts
Test: vts-tradefed run vts -m VtsHalRadioV1_5Target
Bug: 148816663
Change-Id: I32476f004a111d3cde5267d72e730b87aaee683b
diff --git a/radio/V1_5/target/radio/Android.bp b/radio/V1_5/target/radio/Android.bp
new file mode 100644
index 0000000..25de16c
--- /dev/null
+++ b/radio/V1_5/target/radio/Android.bp
@@ -0,0 +1,19 @@
+//
+// Copyright (C) 2020 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+vts_config {
+ name: "VtsHalRadioV1_5Target",
+}
diff --git a/radio/V1_5/target/radio/AndroidTest.xml b/radio/V1_5/target/radio/AndroidTest.xml
new file mode 100644
index 0000000..cbd921b
--- /dev/null
+++ b/radio/V1_5/target/radio/AndroidTest.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2020 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<configuration description="Config for VTS VtsHalRadioV1_5Target test cases">
+ <option name="config-descriptor:metadata" key="plan" value="vts-hal" />
+ <target_preparer class="com.android.compatibility.common.tradefed.targetprep.VtsFilePusher">
+ <option name="abort-on-push-failure" value="false"/>
+ <option name="push-group" value="HalHidlTargetTest.push"/>
+ </target_preparer>
+ <target_preparer class="com.android.tradefed.targetprep.VtsDevicePreparer">
+ <option name="enable-radio-log" value="true"/>
+ <option name="restore-radio-log" value="true"/>
+ </target_preparer>
+ <test class="com.android.tradefed.testtype.VtsMultiDeviceTest">
+ <option name="test-module-name" value="VtsHalRadioV1_5Target"/>
+ <option name="binary-test-source" value="_32bit::DATA/nativetest/VtsHalRadioV1_5TargetTest/VtsHalRadioV1_5TargetTest"/>
+ <option name="binary-test-source" value="_64bit::DATA/nativetest64/VtsHalRadioV1_5TargetTest/VtsHalRadioV1_5TargetTest"/>
+ <option name="binary-test-type" value="gtest"/>
+ <option name="binary-test-disable-framework" value="true"/>
+ <option name="test-timeout" value="15m"/>
+ </test>
+</configuration>