Skip to content

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
chenshengxin2026:ut-pto2-tensormap-orch
Open

Add: PTO2 runtime unit tests for A2A3 and A5 (tensormap, orchestrator, coupling, link isolation)#644
chenshengxin2026 wants to merge 1 commit intohw-native-sys:mainfrom
chenshengxin2026:ut-pto2-tensormap-orch

Conversation

@chenshengxin2026
Copy link
Copy Markdown
Contributor

@chenshengxin2026 chenshengxin2026 commented Apr 22, 2026

Summary

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_fataltest_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

Test plan

  • C++ UT build succeeds (cmake --build tests/ut/cpp/build)
  • All new no_hardware test binaries pass (ctest -L no_hardware)

Part 3 of 5 — split from #427. Depends on #642 (UT infrastructure).

@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chenshengxin2026 chenshengxin2026 changed the title Add: PTO2 tensormap, orchestrator, coupling & boundary unit tests [WIP] Add: PTO2 tensormap, orchestrator, coupling & boundary unit tests Apr 27, 2026
…, 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
@chenshengxin2026 chenshengxin2026 changed the title [WIP] Add: PTO2 tensormap, orchestrator, coupling & boundary unit tests Add: PTO2 runtime unit tests for A2A3 and A5 (tensormap, orchestrator, coupling, link isolation) Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant