如何在安卓(埃克莱尔)运行CTS测试? [英] How to run CTS tests in android(Eclair)?

查看:94
本文介绍了如何在安卓(埃克莱尔)运行CTS测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了释放设备市场,你需要运行的Andr​​oid所提供的兼容性测试套件......我需要知道如何下载和运行它。

In order to release a device to the market, You need to run the Compatibility Test Suite given by android...I need to know how to download and run it..

推荐答案

作为XC的评论说,作为2.0的CTS是免费提供的。

As XC said in a comment, as of 2.0, the CTS is freely available.

有关它是可运行的,你必须建立测试。 在您的顶级Android的目录,所有正常的构建设置步骤,然后

For it to be runnable, you have to build the tests. In your top level android directory, do all the normal build set-up steps and then

make cts

然后在输出/主机/ Linux的-86 / CTS / Android的CTS /工具子目录,你会找到 startcts bash脚本。我想到的位置可能取决于你是建立在什么平台。修改它来指出你的SDK,然后运行该脚本。它是相对自我解释。

Then in the out/host/linux-x86/cts/android-cts/tools sub directory, you will find the startcts bash script. I expect the location might depend on what platform you are building on. Modify it to point out your SDK and then run the script. It is relatively self explanatory.

这篇关于如何在安卓(埃克莱尔)运行CTS测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆