summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3_3.5.6.bb5
2 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3/run-ptest b/meta/recipes-devtools/python/python3/run-ptest
new file mode 100644
index 0000000000..3863c6d314
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3python3 -m test -v | sed -e '/\.\.\. ok/ s/^/PASS: /g' -e '/\.\.\. [ERROR|FAIL]/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'
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
49inherit multilib_header python3native update-alternatives qemu 50inherit multilib_header python3native update-alternatives qemu ptest
50 51
51MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" 52MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}"
52 53
@@ -242,6 +243,8 @@ FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}"
242PACKAGES += "${PN}-man" 243PACKAGES += "${PN}-man"
243FILES_${PN}-man = "${datadir}/man" 244FILES_${PN}-man = "${datadir}/man"
244 245
246RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2"
247
245BBCLASSEXTEND = "nativesdk" 248BBCLASSEXTEND = "nativesdk"
246 249
247RPROVIDES_${PN} += "${PN}-modules" 250RPROVIDES_${PN} += "${PN}-modules"