MCC
Loading...
Searching...
No Matches
Installed Package Consumer Test

Validate MCC exactly as an independent downstream project uses it.

Collaboration diagram for Installed Package Consumer Test:

Validate MCC exactly as an independent downstream project uses it.

The package consumer test performs a Release export, configures the isolated project in tests/PackageConsumer, builds it using only MCC::MCC, and runs it. The consumer intentionally calls Foundation::Math::GCD without linking Foundation::Foundation directly. This verifies both parts of MCC's public dependency contract:

./scripts/test-package.sh macos_arm64 --fresh
./scripts/test-package.ps1 windows_msvc_x64 -Fresh

Use --foundation-prefix or -FoundationPrefix when Foundation is not in the sibling ../Foundation/dist/<preset> location. This workflow is for runnable desktop presets; cross-compiled packages are validated separately.