[oe-commits] [openembedded-core] 20/45: python: consolidate tests

git at git.openembedded.org git at git.openembedded.org
Fri Sep 21 15:25:06 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 0e94737e7124f689c3697d4227bfcd228cc04295
Author: Andrew Geissler <geissonator at gmail.com>
AuthorDate: Wed Sep 19 09:22:29 2018 -0700

    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
    
    Signed-off-by: Andrew Geissler <geissonator at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 .../python/python/python2-manifest.json            | 33 +++++++++-------------
 1 file changed, 14 insertions(+), 19 deletions(-)

diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json
index 4a29c56..1e7004e 100644
--- a/meta/recipes-devtools/python/python/python2-manifest.json
+++ b/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": [

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list