summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-08-21 18:23:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-23 14:16:01 +0100
commit8a5d3bf3020528d1c28366236941c2fcd91d5cef (patch)
treeebef9158061110890decae5d98f592724623cd9c
parent0cdabb740434502245dc12487ce32b886a091818 (diff)
downloadpoky-8a5d3bf3020528d1c28366236941c2fcd91d5cef.tar.gz
testimage.bbclass: update comments
It's very important to add IMAGE_CLASSES += "testimage" in local.conf firstly, otherwise the var like TEST_LOG_DIR (defined in testimage.bbclass) will not be in testdata.json. [YOCTO #11547] (From OE-Core rev: 5663ed989f0af5b1c61c74288ec421cbca2261e7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/testimage.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 0c4a84e111..6a43560422 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -7,8 +7,8 @@
7# Most of the tests are commands run on target image over ssh. 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 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: 9# You can try it out like this:
10# - first build a qemu core-image-sato 10# - first add IMAGE_CLASSES += "testimage" in local.conf
11# - add IMAGE_CLASSES += "testimage" in local.conf 11# - build a qemu core-image-sato
12# - then bitbake core-image-sato -c testimage. That will run a standard suite of tests. 12# - then bitbake core-image-sato -c testimage. That will run a standard suite of tests.
13 13
14# You can set (or append to) TEST_SUITES in local.conf to select the tests 14# You can set (or append to) TEST_SUITES in local.conf to select the tests