Add test config to libcutils_test
This change allows TradeFederation to run the test directly. Refer to b/35882476 for design and discussion of this change. Bug: 35882476 Test: local test tradefed.sh run template/local --template:map test=libcutils_test Change-Id: Ie083d1641e4ea226cbf7b82c6fd2c115e15b6bf6
This commit is contained in:
parent
bc9cb3885b
commit
2c67dfbc09
|
@ -62,6 +62,7 @@ test_libraries = [
|
|||
|
||||
cc_test {
|
||||
name: "libcutils_test",
|
||||
test_suites: ["device-tests"],
|
||||
defaults: ["libcutils_test_default"],
|
||||
host_supported: true,
|
||||
shared_libs: test_libraries,
|
||||
|
|
|
@ -13,14 +13,14 @@
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<configuration description="Config for libcutils_test_static">
|
||||
<configuration description="Config for libcutils_test">
|
||||
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
|
||||
<option name="cleanup" value="true" />
|
||||
<option name="push" value="libcutils_test_static->/data/local/tmp/libcutils_test_static" />
|
||||
<option name="push" value="libcutils_test->/data/local/tmp/libcutils_test" />
|
||||
</target_preparer>
|
||||
<option name="test-suite-tag" value="apct" />
|
||||
<test class="com.android.tradefed.testtype.GTest" >
|
||||
<option name="native-test-device-path" value="/data/local/tmp" />
|
||||
<option name="module-name" value="libcutils_test_static" />
|
||||
<option name="module-name" value="libcutils_test" />
|
||||
</test>
|
||||
</configuration>
|
Loading…
Reference in New Issue