mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add Windows ARM64 CI (#19040)
* Add CI for win-arm64 * Add common function to test for windows arm64 * Update because string where items need investigation --------- Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
This commit is contained in:
co-authored by
Aditya Patwardhan
parent
9ae7d68947
commit
b2c4888ebb
@@ -145,6 +145,10 @@ Describe "Native Command Processor" -tags "Feature" {
|
||||
}
|
||||
|
||||
It "Should not block running Windows executables" -Skip:(!$IsWindows -or !(Get-Command notepad.exe)) {
|
||||
if (Test-IsWindowsArm64) {
|
||||
Set-ItResult -Pending -Because "Needs investigation"
|
||||
}
|
||||
|
||||
function FindNewNotepad
|
||||
{
|
||||
Get-Process -Name notepad -ErrorAction Ignore | Where-Object { $_.Id -NotIn $dontKill }
|
||||
|
||||
@@ -53,7 +53,11 @@ Describe "Native streams behavior with PowerShell" -Tags 'CI' {
|
||||
($out | Out-String).Replace("`r", '') | Should -BeExactly "foo`n`nbar`n`nbazmiddlefoo`n`nbar`n`nbaz`n"
|
||||
}
|
||||
|
||||
It 'does not get truncated or split when redirected' {
|
||||
It 'Does not get truncated or split when redirected' {
|
||||
if (Test-IsWindowsArm64) {
|
||||
Set-ItResult -Pending -Because "IOException: The handle is invalid."
|
||||
}
|
||||
|
||||
$longtext = "0123456789"
|
||||
while ($longtext.Length -lt [console]::WindowWidth) {
|
||||
$longtext += $longtext
|
||||
|
||||
Reference in New Issue
Block a user