menios
menios copied to clipboard
Extract host-test harness to mk/testing/host.mk
Parent Issue
Part of #352 - Makefile refactoring
Objective
Move the long host-test harness so CI/test tweaks don't require scrolling through build logic.
Scope
Extract from root Makefile:
- Lines ~700: Host-test harness
- Test target definitions
- Test environment setup
- CI-related test configuration
Target Location
mk/testing/host.mk
Implementation Steps
- Create
mk/testing/directory structure - Extract test harness and related rules
- Move test environment configuration
- Update root Makefile to
include mk/testing/host.mk - Run
make testor equivalent - Verify all tests pass
- Test in CI environment if applicable
Dependencies
None - testing can be isolated
Acceptance Criteria
- [ ] All test harness code in mk/testing/host.mk
- [ ]
make testworks correctly - [ ] All tests pass as before
- [ ] CI builds work
- [ ] Test configuration is easy to find and modify
- [ ] No behavioral changes