Merge "libsnapshot: Add VTS10 VtsLibsnapshotTest" into rvc-dev

This commit is contained in:
Yifan Hong 2020-04-06 19:02:05 +00:00 committed by Android (Google) Code Review
commit e94892a92e
2 changed files with 35 additions and 0 deletions

View file

@ -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: [

View file

@ -0,0 +1,29 @@
<?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>