]> code.ossystems Code Review - openembedded-core.git/commitdiff
generate-manifest-2.7.py: fix python-tests rdepends
authorMing Liu <peter.x.liu@external.atlascopco.com>
Sun, 26 Feb 2017 08:05:11 +0000 (09:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Mar 2017 15:50:19 +0000 (15:50 +0000)
A potential flaw was introduced by commit a8dc4bc0:
[ python: fix python-tests rdepends ]

It made python-tests RDEPENDS on python-modules which is correct, but
this should be done in generate-manifest-2.7.py, and re-generate the
manifest.

Fixed by adding this dependency in generate-manifest-2.7.py as well.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/contrib/python/generate-manifest-2.7.py

index 6f7a4c39e0d379329264192e1cb3d1ef668ccc2d..b5941a035f914501042ce932b207a09eb3f78a50 100755 (executable)
@@ -383,7 +383,7 @@ if __name__ == "__main__":
     m.addPackage( "${PN}-terminal", "Python terminal controlling support", "${PN}-core ${PN}-io",
     "pty.* tty.*" )
 
-    m.addPackage( "${PN}-tests", "Python tests", "${PN}-core",
+    m.addPackage( "${PN}-tests", "Python tests", "${PN}-core ${PN}-modules",
     "test" ) # package
 
     m.addPackage( "${PN}-threading", "Python threading & synchronization support", "${PN}-core ${PN}-lang",