]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib: oeqa: spdx: Add tests for extra options
authorJoshua Watt <jpewhacker@gmail.com>
Tue, 3 Dec 2024 22:37:10 +0000 (15:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2024 11:55:08 +0000 (11:55 +0000)
commit14f534f15f7fe6362723d7f064d39783c5bd758f
tree8154e2806e9ba7bfc6713dd7fecab89488fdb6d5
parent250c2bcc557040b4cd67cecf25f8351638cff45d
lib: oeqa: spdx: Add tests for extra options

Adds a test for several of the extra options provided by the SPDX
classes. In particular, these are the options that can produce
non-reproducible results, so are not enabled by default in OE core. This
test takes care to configure the build so that the tests do run in a
reproducible manner so that pre-built test objects can be pulled from
sstate

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sbom30.py
meta/lib/oeqa/selftest/cases/spdx.py