support/testing/tests/core/test_cpeid: new test
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 4 Nov 2020 14:51:40 +0000 (15:51 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 26 Nov 2020 15:36:56 +0000 (16:36 +0100)
commit3950c53cd0d062c1bb446d0837fee2c005cae009
tree000c27e148bbac59bcdf8dc92d19e3dede69a0d7
parentc02d4652747aa3d86197ac6879b94955c95a5286
support/testing/tests/core/test_cpeid: new test

This commit adds a number of test cases to verify that the CPE_ID_*
variables are properly handled by the generic package infrastructure
and that the "make show-info" JSON output matches what we expect.

A total of 5 different example packages are used to exercise different
scenarios of CPE_ID_* variables usage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/testing/tests/core/cpeid-br2-external/Config.in [new file with mode: 0644]
support/testing/tests/core/cpeid-br2-external/external.desc [new file with mode: 0644]
support/testing/tests/core/cpeid-br2-external/external.mk [new file with mode: 0644]
support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg1/cpe-id-pkg1.mk [new file with mode: 0644]
support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg2/cpe-id-pkg2.mk [new file with mode: 0644]
support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg3/cpe-id-pkg3.mk [new file with mode: 0644]
support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg4/cpe-id-pkg4.mk [new file with mode: 0644]
support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg5/cpe-id-pkg5.mk [new file with mode: 0644]
support/testing/tests/core/test_cpeid.py [new file with mode: 0644]