selftest: sstatetests: Exclude all SPDX tasks

SPDX 3.0 introduces a bunch of new SPDX tasks. Instead of explicitly
enumerating them all, modify the regex to match 'create_.*spdx' which
will cover all of the SPDX 2.0 and SPDX 3.0 tasks

(From OE-Core rev: 1d007eaf0155b5ac1c90a15634f7b1473743a4bd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt
2024-07-12 09:58:18 -06:00
committed by Richard Purdie
parent af8bca244f
commit 666c1f1048

View File

@@ -933,8 +933,7 @@ class SStateCheckObjectPresence(SStateBase):
# these get influnced by IMAGE_FSTYPES tweaks in yocto-autobuilder-helper's config.json (on x86-64)
# additionally, they depend on noexec (thus, absent stamps) package, install, etc. image tasks,
# which makes tracing other changes difficult
exceptions += ["{}.*create_spdx".format(t) for t in targets.split()]
exceptions += ["{}.*create_runtime_spdx".format(t) for t in targets.split()]
exceptions += ["{}.*create_.*spdx".format(t) for t in targets.split()]
output_l = output.splitlines()
for l in output_l: