Skip to content

Commit 9e16903

Browse files
committed
Allow testing on Linux.
Caveat: This is sometimes inconsistent if there were compile errors. Sometimes need to run Invoke-Build Clean before Invoke-Build Test will pick up code changes.
1 parent c7062eb commit 9e16903

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

vscode-powershell.build.ps1

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,8 @@ task BuildAll BuildEditorServices, Build
101101
#region Test tasks
102102

103103
task Test Build, {
104-
if (!$global:IsLinux) {
105-
Write-Host "`n### Running extension tests" -ForegroundColor Green
106-
exec { & npm run test }
107-
}
108-
else {
109-
Write-Warning "Skipping extension tests on Linux platform because vscode does not support it."
110-
}
104+
Write-Host "`n### Running extension tests" -ForegroundColor Green
105+
exec { & npm run test }
111106
}
112107

113108
task TestEditorServices {

0 commit comments

Comments
 (0)