Skip to content

Commit

Permalink
Disable pwsh installation tests in CYGWIN, MSYS, and MINGW.
Browse files Browse the repository at this point in the history
There is no pwsh support there and if the installation test suite find the windows pwsh.exe it will fail due to IO issues.
  • Loading branch information
ACSimon33 authored and xdelaruelle committed Sep 8, 2024
1 parent 0eb7f7f commit dddfeac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions testsuite/install.00-init/005-init_ts.exp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ foreach shell [list sh bash basheu ksh zsh csh tcsh fish tcl perl python ruby cm
set shellbin [find_bin ksh93]
}
}
pwsh {
# Don't test pwsh in cygwin or msys (pwsh.exe won't work properly)
if {![regexp "(CYGWIN|MINGW|MSYS_NT).*" $tcl_platform(os)]} {
set shellbin [find_bin pwsh]
} else {
set shellbin ""
}
}
default {
set shellbin [find_bin $shell]
}
Expand Down

0 comments on commit dddfeac

Please sign in to comment.