diff options
author | Ross Burton <ross.burton@intel.com> | 2018-10-12 14:43:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-14 09:20:56 +0100 |
commit | be2592f5c755589c05125c02f732f981ccacf4b3 (patch) | |
tree | aa675e4fab2903509fc6424e523d1b722140fdcf /meta/recipes-devtools/python/python3_3.5.6.bb | |
parent | 4837c3b0ad46e08c5063e842d0f53f05b31c4873 (diff) | |
download | poky-be2592f5c755589c05125c02f732f981ccacf4b3.tar.gz |
python3: add ptest runner
Copy the Python 2 run-ptest script to execute the Python 3 test suite.
(From OE-Core rev: d371ff04628bdf7bac66341aeb9a66d145f66416)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.5.6.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.5.6.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.6.bb b/meta/recipes-devtools/python/python3_3.5.6.bb index c481aadb36..372f27b15d 100644 --- a/meta/recipes-devtools/python/python3_3.5.6.bb +++ b/meta/recipes-devtools/python/python3_3.5.6.bb | |||
@@ -44,9 +44,10 @@ SRC_URI += "\ | |||
44 | file://0003-bpo-32947-Fixes-for-TLS-1.3-and-OpenSSL-1.1.1-GH-876.patch \ | 44 | file://0003-bpo-32947-Fixes-for-TLS-1.3-and-OpenSSL-1.1.1-GH-876.patch \ |
45 | file://0004-bpo-33570-TLS-1.3-ciphers-for-OpenSSL-1.1.1-GH-6976.patch \ | 45 | file://0004-bpo-33570-TLS-1.3-ciphers-for-OpenSSL-1.1.1-GH-6976.patch \ |
46 | file://0005-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-2305.patch \ | 46 | file://0005-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-2305.patch \ |
47 | file://run-ptest \ | ||
47 | " | 48 | " |
48 | 49 | ||
49 | inherit multilib_header python3native update-alternatives qemu | 50 | inherit multilib_header python3native update-alternatives qemu ptest |
50 | 51 | ||
51 | MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" | 52 | MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" |
52 | 53 | ||
@@ -242,6 +243,8 @@ FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}" | |||
242 | PACKAGES += "${PN}-man" | 243 | PACKAGES += "${PN}-man" |
243 | FILES_${PN}-man = "${datadir}/man" | 244 | FILES_${PN}-man = "${datadir}/man" |
244 | 245 | ||
246 | RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2" | ||
247 | |||
245 | BBCLASSEXTEND = "nativesdk" | 248 | BBCLASSEXTEND = "nativesdk" |
246 | 249 | ||
247 | RPROVIDES_${PN} += "${PN}-modules" | 250 | RPROVIDES_${PN} += "${PN}-modules" |