Add: Python unit tests, documentation & runtime_compiler testability fix#646
Open
chenshengxin2026 wants to merge 1 commit intohw-native-sys:mainfrom
Open
Add: Python unit tests, documentation & runtime_compiler testability fix#646chenshengxin2026 wants to merge 1 commit intohw-native-sys:mainfrom
chenshengxin2026 wants to merge 1 commit intohw-native-sys:mainfrom
Conversation
Add 5 new Python UT modules: - test_elf_parser.py: ELF parsing validation - test_env_manager.py: environment manager paths and config - test_kernel_compiler.py: kernel compilation pipeline - test_runtime_compiler.py: runtime compilation pipeline - test_toolchain_setup.py: toolchain discovery and setup Also: - Update conftest.py with improved path setup for isolated UT execution - Add docs/ut-test-suite.md describing the full test inventory - Update docs/testing.md and docs/ci.md for new UT layout - Minor fix in runtime_compiler.py for testability
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add 5 new Python UT modules for build infrastructure:
test_elf_parser.py: ELF parsing validationtest_env_manager.py: environment manager paths and configtest_kernel_compiler.py: kernel compilation pipelinetest_runtime_compiler.py: runtime compilation pipelinetest_toolchain_setup.py: toolchain discovery and setupAlso includes:
conftest.pywith improved path setup for isolated UT executiondocs/ut-test-suite.mddescribing the full test inventorydocs/testing.mdanddocs/ci.mdfor new UT layoutsimpler_setup/runtime_compiler.pyfor testabilityPart 5 of 5 — split from #427. Independent of the C++ UT PRs (#642, #643, #644, #645).
Test plan
python3 -m pytest tests/ut/py/ -v)