summaryrefslogtreecommitdiffstats
path: root/poky
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@gmail.com>2018-09-19 09:22:29 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-09-24 15:39:26 -0400
commitff545b2f1eec42781e6ff22d315c5a32e4a16ece (patch)
tree5a9e4c48f76cb8d6f4d345daec31edb7913245bd /poky
parent9f6e94186d0bd6ce3c6c0079e36d7a8a578a026b (diff)
downloadtalos-openbmc-ff545b2f1eec42781e6ff22d315c5a32e4a16ece.tar.gz
talos-openbmc-ff545b2f1eec42781e6ff22d315c5a32e4a16ece.zip
python: consolidate tests
Currently the bulk of the tests in python-tests, some more in python-sqlite3-tests, and others in their parent module (such as python-ctypes). This is pointless space usage if we're not planning on running the tests, so consolidate all the tests into python-tests. This is a backport of the same changes done by Ross Burton for python3 Changes since v1: - Rebase (From OE-Core rev: 0e94737e7124f689c3697d4227bfcd228cc04295) (From poky rev: 3c69d1a128ad8e2802453cbad8065784199ec63f) Change-Id: I2136b5915e693cb0931f36852f23ffc68f5318b0 Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky')
-rw-r--r--poky/meta/recipes-devtools/python/python/python2-manifest.json33
1 files changed, 14 insertions, 19 deletions
diff --git a/poky/meta/recipes-devtools/python/python/python2-manifest.json b/poky/meta/recipes-devtools/python/python/python2-manifest.json
index 4a29c5667..1e7004e05 100644
--- a/poky/meta/recipes-devtools/python/python/python2-manifest.json
+++ b/poky/meta/recipes-devtools/python/python/python2-manifest.json
@@ -1,4 +1,18 @@
{
+ "tests": {
+ "summary": "Python test suite",
+ "rdepends": [
+ "core",
+ "modules"
+ ],
+ "files": [
+ "${libdir}/python2.7/*/test",
+ "${libdir}/python2.7/*/tests",
+ "${libdir}/python2.7/idlelib/idle_test/",
+ "${libdir}/python2.7/test"
+ ],
+ "cached": []
+ },
"2to3": {
"summary": "Python automated Python 2 to 3 code translator",
"rdepends": [
@@ -873,16 +887,6 @@
"${libdir}/python2.7/lib-dynload/_sqlite3.so"
]
},
- "sqlite3-tests": {
- "summary": "Python Sqlite3 database support tests",
- "rdepends": [
- "core",
- "tests"
- ],
- "files": [
- "${libdir}/python2.7/sqlite3/test"
- ]
- },
"stringold": {
"summary": "Python string APIs [deprecated]",
"rdepends": [
@@ -925,15 +929,6 @@
"${libdir}/python2.7/tty.py"
]
},
- "tests": {
- "summary": "Python tests",
- "rdepends": [
- "core"
- ],
- "files": [
- "${libdir}/python2.7/test"
- ]
- },
"textutils": {
"summary": "Python option parsin",
"rdepends": [
OpenPOWER on IntegriCloud