Fawzi KHABER 78fe6339e8 oeqa/selftest/cases/package.py: adding unittest for package rename conflicts
This Unittest tries to rename a package, using an already used name and
fails on do_package.

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From OE-Core rev: efcb5c2b6009632c1ca1c7b401944ccf9fe2eb44)

Signed-off-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3fe173d5196506d89aa464ba56aabcf581a60db)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-14 06:30:29 -10:00

11 lines
403 B
BlitzBasic

SUMMARY = "Test case that tries to rename a package to an existing one and fails"
DESCRIPTION = "This generates a packaging error when a package is renamed to a pre-existing name"
LICENSE = "MIT"
# Add a new package ${PN}-renametest
PACKAGES += "${PN}-renametest"
# ... and try to rename the ${PN}-dev to the new ${PN}-renametest (conflict)
PKG:${PN}-dev = "${PN}-renametest"
EXCLUDE_FROM_WORLD = "1"