Running AOSP make tests

AOSP includes a large number of tests that seem like they can be used to test system functionality. These seem like they would be very useful at a deeper level than CTS. If you execute "make tests" it will generate a .zip file containing a large number of apks from various tests included in aosp, as well as some binaries included in things folders like "nativebenchmark", "nativestresstest", etc.

I can install and run the apk tests manually, but I don't know how to run the binary tests. Further more, the zip file contains various xml files that seem describe all the coverage targets and text definitions. The xml files seem like they would be useful for a testing tool of some sort but I can't find anything that specifically references this package. There is also the runtest.py script but it doesn't have anything to do with this package that can be generated.

I am interested to know what the intended way is to run these tests and the purpose of this auto-generated package? Is this just a deprecated method of testing? If so, does anyone know what the official method for system testing is? I.E. What is Google or LGE using to test their products before releasing them? CTS only goes so far, and I can't find any sort of documentation on these system tests.

Answers


I ran some of OpenGL related tests.

For the opengl code, they are just arm linux binaries. They best be run if the JVM is disable. Otherwise, they interfere with the standard GUI output. I just ran them in the adb shell, normally under su as root.


Need Your Help

xpath /descendant-or-self - Searching for a node in a particular tree

xml xpath tree descendant

I am reading about the short-cut, '//', which apparently is a shortcut for:

How can I parse this json array in android using a url?

android json parsing arrays jsonobject

I am trying to parse more than one json array which consists of nested json arrys. I have googled a lot but couldn't understand exactly what to do. I have done the following code but it doesn't giv...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.