Skip to content

Fix Import-Module.Tests.ps1 to handle Arm32 platform#26862

Merged
daxian-dbw merged 2 commits intoPowerShell:masterfrom
daxian-dbw:arm-test
Feb 20, 2026
Merged

Fix Import-Module.Tests.ps1 to handle Arm32 platform#26862
daxian-dbw merged 2 commits intoPowerShell:masterfrom
daxian-dbw:arm-test

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

PR Summary

Fix Import-Module.Tests.ps1 to handle Arm32 platform. This fixes a test failure in our release automation runs.

@daxian-dbw daxian-dbw requested a review from a team as a code owner February 20, 2026 18:26
Copilot AI review requested due to automatic review settings February 20, 2026 18:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a test failure in Import-Module.Tests.ps1 that occurred when running on Arm32 platforms. The test was missing a case to handle the 32-bit ARM architecture in the processor architecture switch statement, causing it to throw an "Unknown processor architecture" error.

Changes:

  • Added support for the 'Arm' (32-bit ARM) processor architecture in the ProcessorArchitecture test

@daxian-dbw daxian-dbw added CL-Test Indicates that a PR should be marked as a test change in the Change Log BackPort-7.6.x-Consider labels Feb 20, 2026
@daxian-dbw daxian-dbw merged commit c19a440 into PowerShell:master Feb 20, 2026
36 checks passed
@daxian-dbw daxian-dbw deleted the arm-test branch February 20, 2026 22:05
daxian-dbw added a commit to daxian-dbw/PowerShell that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.6.x-Migrated CL-Test Indicates that a PR should be marked as a test change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants