diff options
author | Andrew Geissler <geissonator@gmail.com> | 2018-09-19 09:22:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-21 18:45:46 -0700 |
commit | 3c69d1a128ad8e2802453cbad8065784199ec63f (patch) | |
tree | d394cacc0d90d1484473288c97468b76806aa938 | |
parent | b0ce2e842a4f36672d2aab424d63b09e31eec048 (diff) | |
download | poky-3c69d1a128ad8e2802453cbad8065784199ec63f.tar.gz |
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)
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>
-rw-r--r-- | meta/recipes-devtools/python/python/python2-manifest.json | 33 |
1 files 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 4a29c56678..1e7004e05e 100644 --- a/meta/recipes-devtools/python/python/python2-manifest.json +++ b/meta/recipes-devtools/python/python/python2-manifest.json | |||
@@ -1,4 +1,18 @@ | |||
1 | { | 1 | { |
2 | "tests": { | ||
3 | "summary": "Python test suite", | ||
4 | "rdepends": [ | ||
5 | "core", | ||
6 | "modules" | ||
7 | ], | ||
8 | "files": [ | ||
9 | "${libdir}/python2.7/*/test", | ||
10 | "${libdir}/python2.7/*/tests", | ||
11 | "${libdir}/python2.7/idlelib/idle_test/", | ||
12 | "${libdir}/python2.7/test" | ||
13 | ], | ||
14 | "cached": [] | ||
15 | }, | ||
2 | "2to3": { | 16 | "2to3": { |
3 | "summary": "Python automated Python 2 to 3 code translator", | 17 | "summary": "Python automated Python 2 to 3 code translator", |
4 | "rdepends": [ | 18 | "rdepends": [ |
@@ -873,16 +887,6 @@ | |||
873 | "${libdir}/python2.7/lib-dynload/_sqlite3.so" | 887 | "${libdir}/python2.7/lib-dynload/_sqlite3.so" |
874 | ] | 888 | ] |
875 | }, | 889 | }, |
876 | "sqlite3-tests": { | ||
877 | "summary": "Python Sqlite3 database support tests", | ||
878 | "rdepends": [ | ||
879 | "core", | ||
880 | "tests" | ||
881 | ], | ||
882 | "files": [ | ||
883 | "${libdir}/python2.7/sqlite3/test" | ||
884 | ] | ||
885 | }, | ||
886 | "stringold": { | 890 | "stringold": { |
887 | "summary": "Python string APIs [deprecated]", | 891 | "summary": "Python string APIs [deprecated]", |
888 | "rdepends": [ | 892 | "rdepends": [ |
@@ -925,15 +929,6 @@ | |||
925 | "${libdir}/python2.7/tty.py" | 929 | "${libdir}/python2.7/tty.py" |
926 | ] | 930 | ] |
927 | }, | 931 | }, |
928 | "tests": { | ||
929 | "summary": "Python tests", | ||
930 | "rdepends": [ | ||
931 | "core" | ||
932 | ], | ||
933 | "files": [ | ||
934 | "${libdir}/python2.7/test" | ||
935 | ] | ||
936 | }, | ||
937 | "textutils": { | 932 | "textutils": { |
938 | "summary": "Python option parsin", | 933 | "summary": "Python option parsin", |
939 | "rdepends": [ | 934 | "rdepends": [ |