refactor: add the truth list beside the manifest

generate_manifest is one build again, so the gap report runs once per
build. generate_install_list adds the --source truth build and the
standalone layouts, and --manifest writes through it. The schema check
test skips without jsonschema.
This commit is contained in:
Abdessamad Derraz committed 2026-11-12 11:03:24 +01:00
1 parent ef67119bc7
commit 56df7ec1ec
2 files changed
+55 -25

No files matched your search

+5 -2
View File
@@ -69,7 +69,7 @@ class RealListParity(unittest.TestCase):
if plat not in self.manifests:
self.layouts[plat] = {}
with contextlib.redirect_stdout(io.StringIO()):
self.manifests[plat] = self.gp.generate_manifest(
self.manifests[plat] = self.gp.generate_install_list(
plat, str(REPO_ROOT / "platforms"), self.db, str(REPO_ROOT / "bios"),
str(REPO_ROOT / "platforms" / "_registry.yml"),
emulators_dir=str(REPO_ROOT / "emulators"),
@@ -588,7 +588,10 @@ class ExpertRuns(Lists):
def test_the_schema_check_reads_a_null_truth_list(self):
from unittest import mock
import validate_schemas
try:
import validate_schemas
except ImportError as exc:
self.skipTest(f"validate_schemas needs jsonschema: {exc}")
with tempfile.TemporaryDirectory(dir=REPO_ROOT / "tmp") as root:
(Path(root) / "install" / "standalone").mkdir(parents=True)