Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 405da5a9 authored by Yifan Hong's avatar Yifan Hong
Browse files

libsnapshot: Add VTS10 VtsLibsnapshotTest

Add VTS10 variant of vts_libsnapshot_test so that
it can be added to vts-kernel test.

Bug: 142513589

Test: vts10-tradefed run vts-kernel -m VtsLibnsapshotTest
Change-Id: I4e2516b94d84acb16f595aab87dd3c0cadad6166
parent 79f3d26b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -195,6 +195,12 @@ cc_test {
    defaults: ["libsnapshot_test_defaults"],
}

// For VTS 10
vts_config {
    name: "VtsLibsnapshotTest",
    test_config: "VtsLibsnapshotTest.xml"
}

cc_binary {
    name: "snapshotctl",
    srcs: [
+29 −0
Original line number Diff line number Diff line
<?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 VtsLibsnapshotTest">
    <option name="config-descriptor:metadata" key="plan" value="vts-kernel"/>
    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.VtsFilePusher">
        <option name="abort-on-push-failure" value="false"/>
        <option name="push-group" value="HostDrivenTest.push"/>
    </target_preparer>
    <test class="com.android.tradefed.testtype.VtsMultiDeviceTest">
        <option name="test-module-name" value="VtsLibsnapshotTest"/>
        <option name="binary-test-source" value="_32bit::DATA/nativetest/vts_libsnapshot_test/vts_libsnapshot_test"/>
        <option name="binary-test-source" value="_64bit::DATA/nativetest64/vts_libsnapshot_test/vts_libsnapshot_test"/>
        <option name="binary-test-type" value="gtest"/>
        <option name="test-timeout" value="5m"/>
    </test>
</configuration>