Просмотр исходного кода

include generated channel map in overlay

root 3 месяцев назад
Родитель
Сommit
02b0d0998a
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      tests/unit/test_6400_canonical_packages.py
  2. 1 0
      tools/package_6400_canonical.py

+ 1 - 0
tests/unit/test_6400_canonical_packages.py

@@ -77,3 +77,4 @@ def test_active_sets_exclude_old_profiles_and_scratch() -> None:
     assert "ACTIVE_FIX_LOCK.yaml" not in selected
     assert "ACTIVE_FIX_LOCK.yaml" not in selected
     assert "QUICK_PROGRESS.md" not in selected
     assert "QUICK_PROGRESS.md" not in selected
     assert "tools/target_registry.py" in canonical.base_paths()
     assert "tools/target_registry.py" in canonical.base_paths()
+    assert "docs/generated/6400-channel-map.md" in canonical.current_paths()

+ 1 - 0
tools/package_6400_canonical.py

@@ -129,6 +129,7 @@ def current_paths() -> list[str]:
         "td/phy/prod2u_6400_front_back.tcl", "td/bitgen/prod2u_6400_front_back.tcl",
         "td/phy/prod2u_6400_front_back.tcl", "td/bitgen/prod2u_6400_front_back.tcl",
     ]
     ]
     generated = [p.relative_to(ROOT).as_posix() for p in (ROOT / "generated/6400").glob("*") if p.is_file()]
     generated = [p.relative_to(ROOT).as_posix() for p in (ROOT / "generated/6400").glob("*") if p.is_file()]
+    generated.append("docs/generated/6400-channel-map.md")
     specific_sources = [p for p in production_sources() if p not in base]
     specific_sources = [p for p in production_sources() if p not in base]
     focused = [p for p in replay_paths() if p not in base]
     focused = [p for p in replay_paths() if p not in base]
     focused.append("tests/unit/test_6400_canonical_packages.py")
     focused.append("tests/unit/test_6400_canonical_packages.py")