diff options
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r-- | meta/classes/ptest.bbclass | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index 466916299a..200446e52b 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass | |||
@@ -1,22 +1,22 @@ | |||
1 | SUMMARY_${PN}-ptest ?= "${SUMMARY} - Package test files" | 1 | SUMMARY:${PN}-ptest ?= "${SUMMARY} - Package test files" |
2 | DESCRIPTION_${PN}-ptest ?= "${DESCRIPTION} \ | 2 | DESCRIPTION:${PN}-ptest ?= "${DESCRIPTION} \ |
3 | This package contains a test directory ${PTEST_PATH} for package test purposes." | 3 | This package contains a test directory ${PTEST_PATH} for package test purposes." |
4 | 4 | ||
5 | PTEST_PATH ?= "${libdir}/${BPN}/ptest" | 5 | PTEST_PATH ?= "${libdir}/${BPN}/ptest" |
6 | PTEST_BUILD_HOST_FILES ?= "Makefile" | 6 | PTEST_BUILD_HOST_FILES ?= "Makefile" |
7 | PTEST_BUILD_HOST_PATTERN ?= "" | 7 | PTEST_BUILD_HOST_PATTERN ?= "" |
8 | 8 | ||
9 | FILES_${PN}-ptest += "${PTEST_PATH}" | 9 | FILES:${PN}-ptest += "${PTEST_PATH}" |
10 | SECTION_${PN}-ptest = "devel" | 10 | SECTION:${PN}-ptest = "devel" |
11 | ALLOW_EMPTY_${PN}-ptest = "1" | 11 | ALLOW_EMPTY:${PN}-ptest = "1" |
12 | PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" | 12 | PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" |
13 | PTEST_ENABLED_class-native = "" | 13 | PTEST_ENABLED:class-native = "" |
14 | PTEST_ENABLED_class-nativesdk = "" | 14 | PTEST_ENABLED:class-nativesdk = "" |
15 | PTEST_ENABLED_class-cross-canadian = "" | 15 | PTEST_ENABLED:class-cross-canadian = "" |
16 | RDEPENDS_${PN}-ptest += "${PN}" | 16 | RDEPENDS:${PN}-ptest += "${PN}" |
17 | RDEPENDS_${PN}-ptest_class-native = "" | 17 | RDEPENDS:${PN}-ptest:class-native = "" |
18 | RDEPENDS_${PN}-ptest_class-nativesdk = "" | 18 | RDEPENDS:${PN}-ptest:class-nativesdk = "" |
19 | RRECOMMENDS_${PN}-ptest += "ptest-runner" | 19 | RRECOMMENDS:${PN}-ptest += "ptest-runner" |
20 | 20 | ||
21 | PACKAGES =+ "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}" | 21 | PACKAGES =+ "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}" |
22 | 22 | ||
@@ -73,7 +73,7 @@ PTEST_BINDIR_PKGD_PATH = "${PKGD}${PTEST_PATH}/bin" | |||
73 | # This function needs to run after apply_update_alternative_renames because the | 73 | # This function needs to run after apply_update_alternative_renames because the |
74 | # aforementioned function will update the ALTERNATIVE_LINK_NAME flag. Append is | 74 | # aforementioned function will update the ALTERNATIVE_LINK_NAME flag. Append is |
75 | # used here to make this function to run as late as possible. | 75 | # used here to make this function to run as late as possible. |
76 | PACKAGE_PREPROCESS_FUNCS_append = "${@bb.utils.contains('PTEST_BINDIR', '1', \ | 76 | PACKAGE_PREPROCESS_FUNCS:append = "${@bb.utils.contains('PTEST_BINDIR', '1', \ |
77 | bb.utils.contains('PTEST_ENABLED', '1', ' ptest_update_alternatives', '', d), '', d)}" | 77 | bb.utils.contains('PTEST_ENABLED', '1', ' ptest_update_alternatives', '', d), '', d)}" |
78 | 78 | ||
79 | python ptest_update_alternatives() { | 79 | python ptest_update_alternatives() { |