feat: refactor test scripts to update paths and improve organization

- Updated paths in test files to reflect new directory structure for RTL and script files.
- Changed references from rtl/mini to rtl/ip and scripts/rtl where applicable.
- Added a new test file for Tiny product isolation, ensuring independent ABI and bus acceptance.
- Enhanced tests for memory map generation and protocol contracts for Tiny architecture.
- Ensured that all tests are aligned with the latest directory structure and naming conventions.
This commit is contained in:
maksyuki committed 2026-09-25 15:44:02 +08:00
1 parent b72e14ea40
commit 9c706ba0ff
194 files changed
+5534 -449

No files matched your search

+5 -1
View File
@@ -66,7 +66,11 @@ def policy_issues(root: Path, path: Path, policy: dict[str, object]) -> list[str
text = path.read_text(encoding="utf-8")
issues: list[str] = []
if TINY_TOKEN.search(text):
# Product names in comments/string literals are prose, not retired SDK
# identifiers. Legacy include paths are still checked against the raw text.
code = re.sub(r'/\*.*?\*/|//[^\n]*|"(?:\\.|[^"\\])*"|\'(?:\\.|[^\'\\])*\'',
" ", text, flags=re.DOTALL)
if TINY_TOKEN.search(code):
issues.append("contains a retired tiny-prefixed identifier or label")
if LEGACY_INCLUDE.search(text):
issues.append("contains a retired legacy include path")