summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/files/run-ptest3
-rw-r--r--meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb10
3 files changed, 12 insertions, 2 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 7bc6b6575f..e575b372b5 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -20,6 +20,7 @@ PTESTS_FAST_META_PYTHON = "\
20 python3-cachetools \ 20 python3-cachetools \
21 python3-cbor2 \ 21 python3-cbor2 \
22 python3-configobj \ 22 python3-configobj \
23 python3-pyconnman \
23 python3-click \ 24 python3-click \
24 python3-dasbus \ 25 python3-dasbus \
25 python3-dominate \ 26 python3-dominate \
diff --git a/meta-python/recipes-connectivity/python-pyconnman/files/run-ptest b/meta-python/recipes-connectivity/python-pyconnman/files/run-ptest
new file mode 100644
index 0000000000..aafa0f731d
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-pyconnman/files/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2cd tests
3python3 -mputao.unittest
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
index 040f1acc92..52fc1dac55 100644
--- a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
+++ b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb
@@ -4,8 +4,14 @@ LICENSE = "Apache-2.0"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6 6
7SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926" 7inherit pypi setuptools3 ptest
8 8
9inherit pypi setuptools3 9SRC_URI += "file://run-ptest"
10SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926"
10 11
11RDEPENDS:${PN} = "connman python3-dbus python3-pprint python3-future" 12RDEPENDS:${PN} = "connman python3-dbus python3-pprint python3-future"
13RDEPENDS:${PN}-ptest += "python3-mock python3-unittest-automake-output"
14
15do_install_ptest(){
16 cp -r ${S}/tests ${D}${PTEST_PATH}/
17}