commit | 2c78b314c5ba157a142780b48b0b0fed39b1d945 | [log] [tgz] |
---|---|---|
author | Zygmunt Krynicki <zygmunt.krynicki@linaro.org> | Tue Aug 21 00:03:00 2012 +0200 |
committer | Zygmunt Krynicki <zygmunt.krynicki@linaro.org> | Tue Aug 21 00:03:00 2012 +0200 |
tree | 19639e45df44ceb18a4bc7c3ab590f3e922e1171 | |
parent | e344fb8a42b0015faff1c478e0ffea940e5402b5 [diff] |
Add lava-wrapper This wrapper application runs lava-gtest-wrapper (and others) on demand.
This module contains a collection of tools that run on an Android system and simplify the automation of tests. Android includes a lot of built-in tests but they differ in output formats and a way of executing them.
This tool, runs on an Android device, consumees a list of tests to execute, executs each test in succession and saves the result as a Linaro Dashboard Bundle. The bundle is a JSON file with pre-defined elements that can be consumed by the LAVA stack, specifically by the LAVA Dashboard. You can learn more about the bundle format on http://lava-dashboard.rtfd.org/ and about the LAVA Dashboard on http://lava-dashboard.rtfd.org/
To use this software you need to incorporate it in your build. The best way to do that is to augment the manifest to pull code from the official github repository: git://github.com/zyga/android-lava-wrapper.git
Once this step is done your build should include a new executable lava-gtest-wrapper. Usually you won't execute it directly but it is important to remember why it is there. The point of lava-gtest-wrapper is to execute a test using the google test framework. (http://code.google.com/p/googletest/) and convert the output to a Dashboard Bundle.
Typically you will want to run many tests and for that you will use a script called lava-wrapper. It is a simple one-shot executable that does everything it can.
TBD