summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer
diff options
context:
space:
mode:
authorLouis Rannou <louis.rannou@non.se.com>2025-02-13 16:05:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-13 22:24:27 +0000
commit2ae32dae580105156a151fa3dc7cbfe8673636e5 (patch)
tree151e42a382bf75136019d6709f65bf1263a4d86c /scripts/lib/checklayer
parent0a9cfebb3a47b3404d3ff73a58e9f1a88d87fa78 (diff)
downloadpoky-2ae32dae580105156a151fa3dc7cbfe8673636e5.tar.gz
bitbake: bitbake: tests/data: add tests for variable flags
Check default flags are correctly returned by getVarFlags and check all flags are returned when internalflags is True. Check delVarFlags also removes default value. Check all flags are removed after delVar. Run the test with: $ bitbake-selftest -v bb.tests.data.TestFlags test_delflag (bb.tests.data.TestFlags.test_delflag) ... ok test_delvar (bb.tests.data.TestFlags.test_delvar) ... ok test_setflag (bb.tests.data.TestFlags.test_setflag) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK This is a test case for [YOCTO #15685] (Bitbake rev: ff8cae735cf489373af1aac7ee233d7b82d483d3) Signed-off-by: Louis Rannou <louis.rannou@non.se.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer')
0 files changed, 0 insertions, 0 deletions