diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2013-07-12 19:08:53 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-16 10:04:17 +0100 |
commit | 656a8b97c1f3f072834b6885282031e05ec61bd5 (patch) | |
tree | df36cfdb6455182ffa1641b122f09ddec7dbbb29 /meta/classes/testimage.bbclass | |
parent | 655da29dacc439ddb08e0607424a0f8c80681fed (diff) | |
download | poky-656a8b97c1f3f072834b6885282031e05ec61bd5.tar.gz |
testimage.bbclass, lib/oeqa: add headers and comments
Adds some comments to testimage.bbclass and the files it calls,
just to give an ideea of what it does.
(From OE-Core rev: 8bbb7116cf02466dfc59a17dc7bb51287aeea55b)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 940520ffd6..903849d9d4 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -1,3 +1,27 @@ | |||
1 | # Copyright (C) 2013 Intel Corporation | ||
2 | # | ||
3 | # Released under the MIT license (see COPYING.MIT) | ||
4 | |||
5 | |||
6 | # testimage.bbclass enables testing of qemu images using python unittests. | ||
7 | # Most of the tests are commands run on target image over ssh. | ||
8 | # To use it add testimage to global inherit and call your target image with -c testimage | ||
9 | # You can try it out like this: | ||
10 | # - first build a qemu core-image-sato | ||
11 | # - add INHERIT += "testimage" in local.conf | ||
12 | # - then bitbake core-image-sato -c testimage. That will run a standard suite of tests. | ||
13 | |||
14 | # You can set (or append to) TEST_SUITES in local.conf to select the tests | ||
15 | # which you want to run for your target. | ||
16 | # The test names are the module names in meta/lib/oeqa/runtime. | ||
17 | # Each name in TEST_SUITES represents a required test for the image. (no skipping allowed) | ||
18 | # Appending "auto" means that it will try to run all tests that are suitable for the image (each test decides that on it's own). | ||
19 | # Note that order in TEST_SUITES is important (it's the order tests run) and it influences tests dependencies. | ||
20 | |||
21 | # TEST_LOG_DIR contains a ssh log (what command is running, output and return codes) and a qemu boot log till login | ||
22 | # Booting is handled by this class, and it's not a test in itself. | ||
23 | # TEST_QEMUBOOT_TIMEOUT can be used to set the maximum time in seconds the launch code will wait for the login prompt. | ||
24 | |||
1 | TEST_LOG_DIR ?= "${WORKDIR}/testimage" | 25 | TEST_LOG_DIR ?= "${WORKDIR}/testimage" |
2 | 26 | ||
3 | DEFAULT_TEST_SUITES = "ping auto" | 27 | DEFAULT_TEST_SUITES = "ping auto" |