diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/layerappend.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/layerappend.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/lib/oeqa/selftest/cases/layerappend.py b/meta/lib/oeqa/selftest/cases/layerappend.py index 05e9426fc6..379ed589ad 100644 --- a/meta/lib/oeqa/selftest/cases/layerappend.py +++ b/meta/lib/oeqa/selftest/cases/layerappend.py | |||
@@ -1,11 +1,13 @@ | |||
1 | # | 1 | # |
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
2 | # SPDX-License-Identifier: MIT | 4 | # SPDX-License-Identifier: MIT |
3 | # | 5 | # |
4 | 6 | ||
5 | import os | 7 | import os |
6 | 8 | ||
7 | from oeqa.selftest.case import OESelftestTestCase | 9 | from oeqa.selftest.case import OESelftestTestCase |
8 | from oeqa.utils.commands import runCmd, bitbake, get_bb_var | 10 | from oeqa.utils.commands import bitbake, get_bb_var |
9 | import oeqa.utils.ftools as ftools | 11 | import oeqa.utils.ftools as ftools |
10 | 12 | ||
11 | class LayerAppendTests(OESelftestTestCase): | 13 | class LayerAppendTests(OESelftestTestCase): |
@@ -30,20 +32,20 @@ python do_build() { | |||
30 | addtask build | 32 | addtask build |
31 | """ | 33 | """ |
32 | append = """ | 34 | append = """ |
33 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 35 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
34 | 36 | ||
35 | SRC_URI_append = " file://appendtest.txt" | 37 | SRC_URI:append = " file://appendtest.txt" |
36 | 38 | ||
37 | sysroot_stage_all_append() { | 39 | sysroot_stage_all:append() { |
38 | install -m 644 ${WORKDIR}/appendtest.txt ${SYSROOT_DESTDIR}/ | 40 | install -m 644 ${WORKDIR}/appendtest.txt ${SYSROOT_DESTDIR}/ |
39 | } | 41 | } |
40 | 42 | ||
41 | """ | 43 | """ |
42 | 44 | ||
43 | append2 = """ | 45 | append2 = """ |
44 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 46 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
45 | 47 | ||
46 | SRC_URI_append = " file://appendtest.txt" | 48 | SRC_URI:append = " file://appendtest.txt" |
47 | """ | 49 | """ |
48 | layerappend = '' | 50 | layerappend = '' |
49 | 51 | ||