summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/spdx.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/spdx.py b/meta/lib/oeqa/selftest/cases/spdx.py
index f22bd6c275..8cd4e83ca2 100644
--- a/meta/lib/oeqa/selftest/cases/spdx.py
+++ b/meta/lib/oeqa/selftest/cases/spdx.py
@@ -31,10 +31,10 @@ class SPDX22Check(OESelftestTestCase):
31 self.write_config(config) 31 self.write_config(config)
32 32
33 deploy_dir = get_bb_var("DEPLOY_DIR") 33 deploy_dir = get_bb_var("DEPLOY_DIR")
34 machine_var = get_bb_var("MACHINE") 34 arch_dir = get_bb_var("PACKAGE_ARCH", target_name)
35 spdx_version = get_bb_var("SPDX_VERSION") 35 spdx_version = get_bb_var("SPDX_VERSION")
36 # qemux86-64 creates the directory qemux86_64 36 # qemux86-64 creates the directory qemux86_64
37 machine_dir = machine_var.replace("-", "_") 37 #arch_dir = arch_var.replace("-", "_")
38 38
39 full_file_path = os.path.join( 39 full_file_path = os.path.join(
40 deploy_dir, "spdx", spdx_version, arch_dir, high_level_dir, spdx_file 40 deploy_dir, "spdx", spdx_version, arch_dir, high_level_dir, spdx_file
@@ -68,6 +68,9 @@ class SPDX22Check(OESelftestTestCase):
68 def test_spdx_base_files(self): 68 def test_spdx_base_files(self):
69 self.check_recipe_spdx("packages", "base-files.spdx.json", "base-files") 69 self.check_recipe_spdx("packages", "base-files.spdx.json", "base-files")
70 70
71 def test_spdx_tar(self):
72 self.check_recipe_spdx("packages", "tar.spdx.json", "tar")
73
71 74
72class SPDX3CheckBase(object): 75class SPDX3CheckBase(object):
73 """ 76 """