diff options
-rw-r--r-- | meta/classes-recipe/testexport.bbclass (renamed from meta/classes/testexport.bbclass) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/testexport.bbclass b/meta/classes-recipe/testexport.bbclass index f7c5242dc5..0f0c56107f 100644 --- a/meta/classes/testexport.bbclass +++ b/meta/classes-recipe/testexport.bbclass | |||
@@ -7,12 +7,14 @@ | |||
7 | # To use it add testexport to global inherit and call your target image with -c testexport | 7 | # To use it add testexport to global inherit and call your target image with -c testexport |
8 | # You can try it out like this: | 8 | # You can try it out like this: |
9 | # - First build an image. i.e. core-image-sato | 9 | # - First build an image. i.e. core-image-sato |
10 | # - Add INHERIT += "testexport" in local.conf | 10 | # - Add IMAGE_CLASSES += "testexport" in local.conf |
11 | # - Then bitbake core-image-sato -c testexport. That will generate the directory structure | 11 | # - Then bitbake core-image-sato -c testexport. That will generate the directory structure |
12 | # to execute the runtime tests using runexported.py. | 12 | # to execute the runtime tests using runexported.py. |
13 | # | 13 | # |
14 | # For more information on TEST_SUITES check testimage class. | 14 | # For more information on TEST_SUITES check testimage class. |
15 | 15 | ||
16 | inherit testimage | ||
17 | |||
16 | TEST_LOG_DIR ?= "${WORKDIR}/testexport" | 18 | TEST_LOG_DIR ?= "${WORKDIR}/testexport" |
17 | TEST_EXPORT_DIR ?= "${TMPDIR}/testexport/${PN}" | 19 | TEST_EXPORT_DIR ?= "${TMPDIR}/testexport/${PN}" |
18 | TEST_EXPORT_PACKAGED_DIR ?= "packages/packaged" | 20 | TEST_EXPORT_PACKAGED_DIR ?= "packages/packaged" |
@@ -176,5 +178,3 @@ def testexport_create_tarball(d, tar_name, src_dir): | |||
176 | tar.add(base_name) | 178 | tar.add(base_name) |
177 | tar.close() | 179 | tar.close() |
178 | os.chdir(current_dir) | 180 | os.chdir(current_dir) |
179 | |||
180 | IMAGE_CLASSES += "testimage" | ||