Add: PTO2 runtime unit tests for A2A3 and A5 (tensormap, orchestrator, coupling, link isolation)#644
Open
chenshengxin2026 wants to merge 1 commit intohw-native-sys:mainfrom
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
2 tasks
…, coupling, link isolation) Refactor and extend PTO2 runtime unit test coverage for A2A3 and A5: A2A3 changes: - Remove outdated edge/stub tests: test_tensormap_edge, test_coupling, test_coupling_stub, test_boundary_edge - Add link isolation tests (test_link_isolation) and runtime coupling tests (test_runtime_coupling) - Rename test_orchestrator_fatal -> test_orchestrator_report_fatal - Extend existing tests: tensormap, shared_memory, task_allocator, ready_queue, orchestrator_submit, runtime_lifecycle A5 additions: - Add runtime-linked tests: test_a5_runtime_coupling, test_a5_link_isolation, test_a5_orchestrator_submit, test_a5_orchestrator_report_fatal, test_a5_runtime_lifecycle - Extend existing tests: ready_queue, shared_memory, task_allocator, tensormap Build: - Add add_a5_runtime_test() CMake helper and A5 runtime source sets
c1b9e20 to
75a8a25
Compare
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
Refactor and extend PTO2 runtime unit test coverage for A2A3 and A5:
A2A3 changes
test_tensormap_edge,test_coupling,test_coupling_stub,test_boundary_edgetest_link_isolation) and runtime coupling tests (test_runtime_coupling)test_orchestrator_fatal→test_orchestrator_report_fataltensormap,shared_memory,task_allocator,ready_queue,orchestrator_submit,runtime_lifecycleA5 additions
test_a5_runtime_coupling,test_a5_link_isolation,test_a5_orchestrator_submit,test_a5_orchestrator_report_fatal,test_a5_runtime_lifecycleready_queue,shared_memory,task_allocator,tensormapBuild
add_a5_runtime_test()CMake helper and A5 runtime source setsTest plan
cmake --build tests/ut/cpp/build)no_hardwaretest binaries pass (ctest -L no_hardware)Part 3 of 5 — split from #427. Depends on #642 (UT infrastructure).