Skip to content

docs: module unit tests on Windows - #101

Draft
dlipicar wants to merge 1 commit into
masterfrom
docs/windows-unit-tests
Draft

dlipicar wants to merge 1 commit into
masterfrom
docs/windows-unit-tests

Conversation

@dlipicar

Copy link
Copy Markdown
Contributor

The developer guide's table of module outputs says every output also exists for the x86_64-windows cross target. With logos-module-builder #260, .#unit-tests does, but it behaves differently there: it cross-builds the test executables and writes a manifest (share/logos-tests/<module>.json) that logos-windows-ci runs on a Windows runner, instead of running them. This adds that paragraph, how a module opts in (targets: default unit-tests, tests: true), and that a real shared external library has to be mocked with tests.mockCLibs on Windows for now.

Merge after #260: on the builder's master, packages.x86_64-windows.unit-tests does not evaluate. logos-capability-module #32 and logos-verified-proxy-module #15 are the first modules to opt in.

🤖 Generated with Claude Code

On the x86_64-windows target `.#unit-tests` cross-builds the tests with a
manifest for logos-windows-ci instead of running them (logos-module-builder
#260). Says how a module opts in, and that external libraries must be mocked
there for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📊 Tutorial execution reports

Rendered tutorial alongside the commands actually run and their output (updated each run, commit a41a0e9):

All reports for this PR

Pages can take a minute to update after the run finishes.

This branch has not been deployed

No deployments
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