Skip to content

test(tools): move Python unit tests into their own package - #1065

Closed
hiyouwhatsapp wants to merge 5 commits into
wavefnd:masterfrom
hiyouwhatsapp:refactor/python-tooling-test-package-641
Closed

hiyouwhatsapp wants to merge 5 commits into
wavefnd:masterfrom
hiyouwhatsapp:refactor/python-tooling-test-package-641

Conversation

@hiyouwhatsapp

@hiyouwhatsapp hiyouwhatsapp commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #641

The tooling tests were mixed in with the scripts they test, which made it harder to tell what was runnable tooling and what was only a test

I moved the 39 Python unit-test modules into tools/tests and left the production helpers where they were

Updated the CI and Meson commands, Rust test entry points and contributor docs, plus the imports and fixture paths that depended on the old location

Added a check that the test modules stay in the new package

Haven't run the full suite locally, CI still needs to verify the move

Superseded by #1071. All five original commits are preserved there with their original SHAs and author; follow-up CI fixes and compiler-contract work continue in that PR.

Keep production scripts and test-contract helpers in tools

Signed-off-by: hiyouwhatsapp <[email protected]>
Cover the CI test-package layout without dropping the original contract helper

Signed-off-by: hiyouwhatsapp <[email protected]>
@LunaStev

LunaStev commented Nov 2, 2026

Copy link
Copy Markdown
Member

Changes requested

The Python test package migration leaves a stale path in tools/ci/procedures.json.

The Validate Python tooling step still references tools/test_diagnose_windows_arm64.py, but the file has moved to tools/tests/test_diagnose_windows_arm64.py.

This causes the validation step to fail with [Errno 2] No such file or directory and currently affects eight CI jobs.

Please update the remaining reference and rerun the complete CI matrix before merging.

@LunaStev

LunaStev commented Nov 2, 2026

Copy link
Copy Markdown
Member

Although it hasn't been approved yet due to ongoing large-scale work, I am merging it in advance.

LunaStev added a commit to LunaStev/Wave that referenced this pull request Nov 2, 2026
Retain all five original contributor commits before replaying the Vex compiler contract changes.

Signed-off-by: LunaStev <[email protected]>
@LunaStev LunaStev closed this Nov 2, 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.

Move Python tooling tests into a dedicated test package

2 participants